eslint-config-75team

1.0.3 • Public • Published

eslint-config-75team

The recommended eslint config of 75team

npmdependency status License

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 :

{
    "extends":  "eslint-config-75team"
}

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

{
    "extends":  "eslint-config-75team",
    "rules": {
        "max-params": ["error", 5]
    }
}

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:

  1. 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.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-75team

Weekly Downloads

3

Version

1.0.3

License

MIT

Unpacked Size

9.74 kB

Total Files

5

Last publish

Collaborators

  • betseyliu