kibana/packages/eslint-config-kibana
Spencer 3bc803e371
[mkdirp] remove in favor of recursive fs.mkdir (#47251)
* [mkdirp] remove in favor of recursive fs.mkdir

* add eslint rule to educate future contributors

* reword the eslint error message to prevent copy-pasting callback code

* Commit updated kbn-pm dist

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Fix typo

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-04 08:15:06 -07:00
..
.eslintrc.js [mkdirp] remove in favor of recursive fs.mkdir (#47251) 2019-10-04 08:15:06 -07:00
.gitignore
.npmignore
javascript.js
jest.js Improve jest mocking infrastructure (#38760) 2019-06-14 23:36:51 +02:00
package.json Update mocha related packages (major) (#43915) 2019-10-01 00:07:13 -07:00
README.md
restricted_globals.js
typescript.js Style guide cleanup (#46574) 2019-09-27 10:07:24 +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'
  ]
}