-
Notifications
You must be signed in to change notification settings - Fork 861
Open
Description
The purpose of this issue is to use our plugin for the ESLint configuration in packages/eui. The goal is to be able to spot the same types of issues we warn against in our own code.
Details
The point is to install @elastic/eslint-plugin-eui in packages/eui and set it to workspace dependency. Then, use it in eui/packages/eui/.eslintrc.js:
module.exports = {
extends: [
// ...
'plugin:@elastic/eui/recommended',
],
plugins: [
'@elastic/eui',
],
}Acceptance criteria
@elastic/eslint-plugin-euiis installed inpackages/eui,- our recommended list is extended in
packages/euiESLint configuration, - we validate that warnings are reported.
Metadata
Metadata
Assignees
Labels
No labels