mirror of
https://github.com/jakejarvis/eslint-config.git
synced 2025-04-26 01:45:25 -04:00
33 lines
640 B
Markdown
33 lines
640 B
Markdown
# @jakejarvis/eslint-config
|
|
|
|
> [Shareable ESLint config](https://eslint.org/docs/developer-guide/shareable-configs.html) inspired heavily by [eslint-config-google](https://github.com/google/eslint-config-google) and moderately by [eslint-config-airbnb](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb).
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
yarn add --dev eslint "@jakejarvis/eslint-config@*"
|
|
```
|
|
|
|
## Usage
|
|
|
|
`.eslintrc.json`:
|
|
|
|
```json5
|
|
{
|
|
"extends": [
|
|
"@jakejarvis/eslint-config"
|
|
],
|
|
"env": {
|
|
"browser": true,
|
|
"node": true
|
|
},
|
|
"rules": {
|
|
// Project-specific overrides...
|
|
}
|
|
}
|
|
```
|
|
|
|
## License
|
|
|
|
MIT
|