kibana/packages/eslint-config-kibana
2019-11-12 15:33:54 +01:00
..
.eslintrc.js Fix misuse of react-router and react-router-dom (#50120) 2019-11-12 15:33:54 +01:00
.gitignore
.npmignore
javascript.js move react/jsx-a11y rules into shared react preset (#49244) 2019-10-29 06:15:33 -07:00
jest.js
package.json Update eslint related packages (#48513) 2019-10-21 16:32:31 -07:00
react.js move react/jsx-a11y rules into shared react preset (#49244) 2019-10-29 06:15:33 -07:00
README.md
restricted_globals.js
typescript.js move react/jsx-a11y rules into shared react preset (#49244) 2019-10-29 06:15:33 -07:00

eslint-config-kibana

The eslint config used by the kibana team

Usage

To use this eslint config, just install the peer dependencies and reference it in your .eslintrc:

{
  extends: [
    '@elastic/eslint-config-kibana'
  ]
}

Optional jest config

If the project uses the jest test runner, the @elastic/eslint-config-kibana/jest config can be extended as well to use eslint-plugin-jest and add settings specific to it:

{
  extends: [
    '@elastic/eslint-config-kibana',
    '@elastic/eslint-config-kibana/jest'
  ]
}