https://github.com/bluebasejs/eslint-config-bluebase
https://github.com/bluebasejs/eslint-config-bluebase
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bluebasejs/eslint-config-bluebase
- Owner: BlueBaseJS
- Created: 2019-11-13T13:16:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-02T08:01:38.000Z (over 5 years ago)
- Last Synced: 2025-02-21T02:34:25.474Z (4 months ago)
- Language: JavaScript
- Size: 229 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
BlueBase Eslint Config
An Eslint Configuration for BlueBase projects
### Setup
- Install the package via
```
yarn add @bluebase/eslint-config-bluebase
```
- Create a `.eslintrc` file on the root of your project with the following content
```
{
"extends": [
"@bluebase/eslint-config-bluebase/eslint.js"
]
}
```
- Add the following lines to `scripts` in `package.json`
```
"lint" : "eslint src --ext=jsx,ts,tsx",
"fix:lint" : "eslint src --ext=jsx,ts,tsx --fix"
```- Run lint
```
yarn lint
```- Fix lint
```
yarn fix:lint
```