We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9311349 commit 25a2601Copy full SHA for 25a2601
1 file changed
react/eslint.config.mjs
@@ -91,6 +91,19 @@ export default [
91
'security/detect-eval-with-expression': 'warn',
92
'security/detect-non-literal-fs-filename': 'warn',
93
'security/detect-non-literal-require': 'warn',
94
+ complexity: ['warn', { max: 5 }],
95
+ },
96
97
+ {
98
+ files: ['src/serviceWorker.js'],
99
+ rules: {
100
+ complexity: 'off',
101
102
103
104
+ files: ['src/services/Usage.test.js', 'src/utils/SortUtils.js'],
105
106
+ 'security/detect-object-injection': 'off',
107
},
108
109
];
0 commit comments