@igorjs/eslint-config-strict-js

1.0.0-alpha.1 • Public • Published
Strict ESLint Config logo

A Strict, Awesome ESLint Config

Base eslint config for latest ecma script standards with strict rules

Usage

To make use of this configuration, you need to first install the configuration in your Node.js project:

npm install --save-dev eslint-config-strict-js

After that, you need to include a reference to the package in your package.json:

{
  "name": "mypackage",
  "version": "1.0.0",
  ...
  "eslintConfig": {
    "extends": "@igorjs/eslint-config-strict-js"
  }
}

You can override the settings that are provided by the plugin by including additional rules in your package.json. For instance, if you wanted to turn off a rule named max-len, your package.json would look something like this:

{
  "name": "mypackage",
  "version": "1.0.0",
  ...
  "eslintConfig": {
    "extends": "@igorjs/eslint-config-strict-js",
    "rules": {
        "max-len": "off"
    }
  }
}

In .eslintrc:

{
  "root": true,
  "extends": ["@igorjs/eslint-config-strict-js"],
  "rules": {
      "max-len": "off"
  }
}

NOTE: you may need to restart your editor for config to take effect

Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page. If you would like to contribute, please take a look at the contributing guide.

Plugins

License

This project is MIT licensed.

Readme

Keywords

none

Package Sidebar

Install

npm i @igorjs/eslint-config-strict-js

Weekly Downloads

7

Version

1.0.0-alpha.1

License

MIT

Unpacked Size

6.47 kB

Total Files

4

Last publish

Collaborators

  • igorjs