kibana/packages/eslint-config-kibana
Spencer 4c810be335
Remove legacy optimizer (#73154)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-13 09:08:44 -07:00
..
.eslintrc.js [ES UI Shared] Monaco XJSON (#67485) 2020-06-04 13:43:21 +02:00
.gitignore
.npmignore
javascript.js ensure prettier overrides take precedence, remove style rules 2019-12-14 17:39:10 -07:00
jest.js chore: improve support for mjs file extension (#70186) 2020-06-30 16:13:28 +02:00
package.json Remove legacy optimizer (#73154) 2020-08-13 09:08:44 -07:00
react.js ensure prettier overrides take precedence, remove style rules 2019-12-14 17:39:10 -07:00
README.md
restricted_globals.js
typescript.js Update @typescript-eslint to ensure compatibility with TypeScript v3.9 (#74091) 2020-08-05 17:32:19 +02: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'
  ]
}