A collection of shareable ESLint configurations for both client and server side code
yarn add @jenssimon/eslint-config-base --dev
All configurations are based on the Airbnb JavaScript Style Guide.
Additionally:
- line length 120 characters
- no semicolons
- eslint-plugin-unicorn
- eslint-plugin-sonarjs
- eslint-plugin-promise
- eslint-plugin-eslint-comments
Note
If you don't trust ASI and still want to use semicolons:
{ "extends": [ "@jenssimon/base", ] "rules": { "semi": ["error", "always"] } }
Suitable for server side Node.js code. Based on eslint-config-airbnb-base.
{
"extends": [
"@jenssimon/base"
]
}
MIT © 2019 Jens Simon