@jenssimon/eslint-config-base
v8.0.1
Published
A shareable ESLint configurations
Downloads
2,156
Readme
eslint-config-base
A collection of shareable ESLint configurations for both client and server side code
Installation
yarn add @jenssimon/eslint-config-base --dev
General
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"] } }
Configurations
Base configuration
Suitable for server side Node.js code. Based on eslint-config-airbnb-base.
{
"extends": [
"@jenssimon/base"
]
}
License
MIT © 2019 Jens Simon