Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bluebasejs/eslint-config-bluebase
https://github.com/bluebasejs/eslint-config-bluebase
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bluebasejs/eslint-config-bluebase
- Owner: BlueBaseJS
- Created: 2019-11-13T13:16:23.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-02T08:01:38.000Z (almost 5 years ago)
- Last Synced: 2024-11-01T11:18:23.022Z (3 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
```