0.3.0 • Published 6 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
6 years ago
0.2.9
7 years ago
0.2.8
7 years ago
0.2.7
7 years ago
0.2.6
7 years ago
0.2.5
7 years ago
0.2.4
7 years ago
0.2.3
7 years ago
0.2.2
7 years ago
0.2.1
7 years ago
0.2.0
7 years ago
0.1.12
7 years ago
0.1.11
7 years ago
0.1.10
7 years ago
0.1.9
7 years ago
0.1.8
7 years ago
0.1.7
7 years ago
0.1.6
7 years ago
0.1.5
7 years ago
0.1.4
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago