kibana/packages/eslint-config-kibana
2019-12-13 23:17:11 -07:00
..
.eslintrc.js [eslint] use prettier for all the things 2019-12-13 23:17:11 -07:00
.gitignore
.npmignore
javascript.js [eslint] use prettier for all the things 2019-12-13 23:17:11 -07:00
jest.js [Dependencies]: upgrade react to latest v16.12.0 (#51145) 2019-11-28 10:56:47 +01:00
package.json Upgrade typescript-eslint to 2.10.0 (#52528) 2019-12-09 19:49:15 +01: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 [eslint-config-kibana] expand list of restricted globals (#15798) 2018-01-03 10:52:30 -07:00
typescript.js Add new eslint rules for TS (#51876) 2019-11-29 09:45:15 +01: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'
  ]
}