@@ -902,17 +902,6 @@ module.exports = {
902
902
} ,
903
903
} ,
904
904
905
- /**
906
- * Cases overrides
907
- */
908
- {
909
- files : [ 'x-pack/plugins/cases/**/*.{js,mjs,ts,tsx}' ] ,
910
- rules : {
911
- 'no-duplicate-imports' : 'off' ,
912
- '@typescript-eslint/no-duplicate-imports' : [ 'error' ] ,
913
- } ,
914
- } ,
915
-
916
905
/**
917
906
* Security Solution overrides. These rules below are maintained and owned by
918
907
* the people within the security-solution-platform team. Please see ping them
@@ -928,6 +917,8 @@ module.exports = {
928
917
'x-pack/plugins/security_solution/common/**/*.{js,mjs,ts,tsx}' ,
929
918
'x-pack/plugins/timelines/public/**/*.{js,mjs,ts,tsx}' ,
930
919
'x-pack/plugins/timelines/common/**/*.{js,mjs,ts,tsx}' ,
920
+ 'x-pack/plugins/cases/public/**/*.{js,mjs,ts,tsx}' ,
921
+ 'x-pack/plugins/cases/common/**/*.{js,mjs,ts,tsx}' ,
931
922
] ,
932
923
rules : {
933
924
'import/no-nodejs-modules' : 'error' ,
@@ -949,10 +940,12 @@ module.exports = {
949
940
files : [
950
941
'x-pack/plugins/security_solution/**/*.{ts,tsx}' ,
951
942
'x-pack/plugins/timelines/**/*.{ts,tsx}' ,
943
+ 'x-pack/plugins/cases/**/*.{ts,tsx}' ,
952
944
] ,
953
945
excludedFiles : [
954
946
'x-pack/plugins/security_solution/**/*.{test,mock,test_helper}.{ts,tsx}' ,
955
947
'x-pack/plugins/timelines/**/*.{test,mock,test_helper}.{ts,tsx}' ,
948
+ 'x-pack/plugins/cases/**/*.{test,mock,test_helper}.{ts,tsx}' ,
956
949
] ,
957
950
rules : {
958
951
'@typescript-eslint/no-non-null-assertion' : 'error' ,
@@ -963,6 +956,7 @@ module.exports = {
963
956
files : [
964
957
'x-pack/plugins/security_solution/**/*.{ts,tsx}' ,
965
958
'x-pack/plugins/timelines/**/*.{ts,tsx}' ,
959
+ 'x-pack/plugins/cases/**/*.{ts,tsx}' ,
966
960
] ,
967
961
rules : {
968
962
'@typescript-eslint/no-this-alias' : 'error' ,
@@ -985,6 +979,7 @@ module.exports = {
985
979
files : [
986
980
'x-pack/plugins/security_solution/**/*.{js,mjs,ts,tsx}' ,
987
981
'x-pack/plugins/timelines/**/*.{js,mjs,ts,tsx}' ,
982
+ 'x-pack/plugins/cases/**/*.{js,mjs,ts,tsx}' ,
988
983
] ,
989
984
plugins : [ 'eslint-plugin-node' , 'react' ] ,
990
985
env : {
0 commit comments