@jetbrains/eslint-config

JetBrains config for ESLint

Stats

StarsIssuesVersionUpdatedCreatedSize
@jetbrains/eslint-config
1415.3.12 years ago4 years agoMinified + gzip package size for @jetbrains/eslint-config in KB

Readme

JetBrains config for ESLint

official JetBrains project

Package contents

@jetbrains basic and style rules
@jetbrains/eslint-config/base basic rules
@jetbrains/eslint-config/style style rules
@jetbrains/eslint-config/browser browser rules and environment
@jetbrains/eslint-config/es6 ES6 rules and environment, including eslint-plugin-import
@jetbrains/eslint-config/node Node.js rules and environment
@jetbrains/eslint-config/react rules for eslint-plugin-react, eslint-plugin-react-hooks, and eslint-plugin-jsx-a11y
@jetbrains/eslint-config/angular rules for eslint-plugin-angular
@jetbrains/eslint-config/test mocha, chai, sinon rules and environment, including eslint-plugin-bdd

Usage example

{
  "parser": "babel-eslint",
  "extends": [
    "@jetbrains",
    "@jetbrains/eslint-config/browser",
    "@jetbrains/eslint-config/es6",
    "@jetbrains/eslint-config/node",
    "@jetbrains/eslint-config/react",
    "@jetbrains/eslint-config/angular",
    "@jetbrains/eslint-config/test"
  ]
}

Usage with Prettier

If you're using this ESLint config with Prettier, make sure that you disable the arrow-body-style rule in the ESLint config, because it conflicts with Prettier rules:

"rules": {
  "arrow-body-style": "off"
}

Note to maintainers: to trigger publishing of the npm package append [Publish] to the commit message. For example:

Tweaked the rules [Publish]

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.