kibana/packages/eslint-config-kibana
2018-06-27 20:50:06 -07:00
..
.eslintrc.js Fix misspellings (#19981) (#20284) 2018-06-27 20:50:06 -07:00
.gitignore
.npmignore
jest.js Use Jest on cli tests (#16389) (#17635) 2018-04-10 18:55:39 +02:00
package.json [6.x] [eslint-plugin-no-unsanitized] upgrade for import() support (#19315) (#19413) 2018-05-24 15:32:20 -07: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'
  ]
}