Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bluebasejs/eslint-config-bluebase


https://github.com/bluebasejs/eslint-config-bluebase

Last synced: about 2 months ago
JSON representation

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
```