0.3.0 • Published 5 years ago
eslint-config-nineyi v0.3.0
eslint-config-nineyi
Documentation Shareable Configs
Installation
Install the package with
npm install eslint-config-nineyi --save-dev
eslint Setup
Now add the config to either the package.json
:
{
"eslintConfig": {
"extends": "eslint-config-nineyi"
}
}
or to the .eslintrc
or .eslintrc.js
:
{
"extends": "eslint-config-nineyi"
}
ESLint and Prettier
- This ESLint configuration can work together with prettier, thanks to eslint-plugin-prettier
Assumptions
- the ESLint rules are based on the great work of airbnb's eslint-config-airbnb
- they also have a smaller more compact one: eslint-config-airbnb-base
- React environment (but can be used on a eg. node-server environment as well)
- Usage of jest as the test-suite
env
: Browser and Node environmentglobals
: added some related jest variablesparser
: usage of babel (used babel-eslint parser)
Note: you can still overwrite the env
, globals
and parser
in your local
.eslintrc.js
.
0.3.0
5 years ago
0.2.9
5 years ago
0.2.8
5 years ago
0.2.7
5 years ago
0.2.6
5 years ago
0.2.5
5 years ago
0.2.4
5 years ago
0.2.3
5 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.12
5 years ago
0.1.11
5 years ago
0.1.10
5 years ago
0.1.9
5 years ago
0.1.8
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago