Skip to content

Commit

Permalink
chore(eslint): sort by the order 'plugins' were added and by name
Browse files Browse the repository at this point in the history
  • Loading branch information
sukvvon committed Dec 29, 2024
1 parent 7ea327b commit ac8ae37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ export default tseslint.config(
pathGroupsExcludedImportTypes: ['builtin'],
},
],
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': [
'warn',
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
],
'@typescript-eslint/no-explicit-any': 'off',
...reactHooks.configs.recommended.rules,
'react-compiler/react-compiler': 'warn',
...reactHooks.configs.recommended.rules,
},
},
{
Expand All @@ -85,13 +85,13 @@ export default tseslint.config(
...vitest.configs.recommended,
rules: {
'import/extensions': ['error', 'never'],
'@typescript-eslint/no-unused-vars': 'off',
'testing-library/no-node-access': 'off',
'vitest/expect-expect': 'off',
'vitest/consistent-test-it': [
'error',
{ fn: 'it', withinDescribe: 'it' },
],
'@typescript-eslint/no-unused-vars': 'off',
},
},
{
Expand Down

0 comments on commit ac8ae37

Please sign in to comment.