[Cases] Enforce type imports (#142428)

* [Cases] enforce type imports

ESLint's --fix did the heavy lifting here

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* fix remaining rule violation

* fix remaining rule violation

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Lion Ralfs 2022-10-14 19:37:29 +02:00 committed by GitHub
parent 9360a4e5dd
commit e46da93553
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
381 changed files with 1070 additions and 942 deletions

View file

@ -1111,7 +1111,10 @@ module.exports = {
},
overrides: [
{
files: ['x-pack/plugins/security_solution/**/*.{js,mjs,ts,tsx}'],
files: [
'x-pack/plugins/security_solution/**/*.{js,mjs,ts,tsx}',
'x-pack/plugins/cases/public/**/*.{js,mjs,ts,tsx}',
],
rules: {
'@typescript-eslint/consistent-type-imports': 'error',
},