kibana/packages/eslint-config-kibana
renovate[bot] 9256c74fdf Pin dependencies (#37406)
* Pin dependencies

* include core-js in babel packages

* specify core-js version when using `useBuiltIns`

* dedupe @babel/types to avoid "range of null" problem
2019-05-30 00:31:01 -07:00
..
.eslintrc.js Migrate from tslint (#33826) 2019-04-05 17:45:23 +01:00
.gitignore
.npmignore
javascript.js Migrate from tslint (#33826) 2019-04-05 17:45:23 +01:00
jest.js Migrate from tslint (#33826) 2019-04-05 17:45:23 +01:00
package.json Pin dependencies (#37406) 2019-05-30 00:31:01 -07:00
README.md
restricted_globals.js
typescript.js [New platform] Restrict import from core&plugin internals for ts files (#34688) 2019-04-10 14:56:09 +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'
  ]
}