kibana/packages/eslint-config-kibana
Wylie Conlon 87ee9c2a9b
Warn in Typescript when using Array.flat() or .flatMap() without polyfill (#37558)
* Warn in Typescript when using Array.flat() or .flatMap() without polyfill

* Update ecma version provided to babel in eslint

* Update per review comments
2019-06-03 13:52:38 -04:00
..
.eslintrc.js Warn in Typescript when using Array.flat() or .flatMap() without polyfill (#37558) 2019-06-03 13:52:38 -04:00
.gitignore
.npmignore
javascript.js Warn in Typescript when using Array.flat() or .flatMap() without polyfill (#37558) 2019-06-03 13:52:38 -04: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 Warn in Typescript when using Array.flat() or .flatMap() without polyfill (#37558) 2019-06-03 13:52:38 -04: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'
  ]
}