eslint-config-75team
The recommended eslint config of 75team
Extends eslint-config-airbnb-base
.
Use it as a foundation for your own config.
To see the rules that this config uses, please read the detail of our config rules.
Installation
npm install eslint eslint-config-75team --save-dev
Usage
Once you installed eslint-config-75team
locally within you project, just set you eslint config to :
Since we have extended 'stylelint-config-standard'
, you don't need to install the standard extends again.
How the customize your own rules
Simply add a "rules" key to your config, then add your overrides and additions there.
For example, if you want the max param number in a function to be 6, just add 'max-params': ['error', 6],
to rules
If you need furthor information about customizing rules, you can read configuration guide and rules of eslint
Use in IDE
If you want to use eslint in your project, we suggest you use the corresponding plugin in your IDE to get better coding experience.
VSCode
If you use VSCode, you need to install the following plugins:
- eslint: Integrates ESLint into VS Code.
Sublime
If you use Sublime, you need to install SublimeLinter and SublimeLinter-contrib-eslint
In order for eslint to be executed by SublimeLinter,you must ensure that nodejs is available to SublimeLinter.Before going any further, please read and follow the steps in “Finding a linter executable” through “Validating your PATH” in the documentation.