Skip to content

Commit c392c3a

Browse files
committed
chore: add ESLint rules.
1 parent da35b8b commit c392c3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eslint.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export default defineConfig(
2323
noUselessIndex: true
2424
}
2525
],
26-
2726
'import/order': [
2827
'error',
2928
{
@@ -36,9 +35,10 @@ export default defineConfig(
3635
pathGroupsExcludedImportTypes: ['builtin']
3736
}
3837
],
38+
'max-params': ['error', { max: 5 }],
3939

40+
'n/prefer-global/process': 'off',
4041
'no-underscore-dangle': 'off',
41-
4242
'react/hook-use-state': [
4343
'error', // or "warn" to only warn instead of error
4444
{

0 commit comments

Comments
 (0)