Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 634 Bytes

File metadata and controls

31 lines (24 loc) · 634 Bytes

opensearch-eslint-config-opensearch-dashboards

The eslint config used by the opensearch dashboards 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'
  ]
}