kibana/packages/eslint-config-kibana
2018-09-27 14:17:45 +02:00
..
.eslintrc.js [ESLint] Turn off no-multi-str rule in eslint config (#22525) (#22602) 2018-08-31 13:56:12 -07:00
.gitignore
.npmignore
jest.js Update versions of @babel/parser and @babel/types (#23268) (#23469) 2018-09-25 16:18:05 +03:00
package.json Upgrade eslint/tslint/prettier plugin versions. (#23562) 2018-09-27 14:17:45 +02:00
README.md

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'
  ]
}