Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure ESLint that should only work on TSX are set to only trigger…
… on TSX files (#169361) ## Summary This makes the newly created i18n ESLint rule actually activate on paths, and narrows the use of the Telemetry ESLint rule to only activate on .tsx files. This is done because the rule only makes sense in the context of JSX. ## More words Noticed that this: ``` 'x-pack/plugins/aiops/**/*.{tsx}', 'x-pack/plugins/apm/**/*.{tsx}', 'x-pack/plugins/exploratory_view/**/*.{tsx}', ``` does not work. This: ``` 'x-pack/plugins/aiops/**/*.tsx', 'x-pack/plugins/apm/**/*.tsx', 'x-pack/plugins/exploratory_view/**/*.tsx', ``` does.
- Loading branch information