Skip to content

Commit 4a89939

Browse files
committed
chore: fix eslint.config.mjs
1 parent 196bf03 commit 4a89939

File tree

2 files changed

+2
-65
lines changed

2 files changed

+2
-65
lines changed

.eslintrc.json

Lines changed: 0 additions & 61 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const compat = new FlatCompat({
1717
recommendedConfig: js.configs.recommended,
1818
allConfig: js.configs.all,
1919
})
20-
20+
// npx @eslint/migrate-config .eslintrc.json
2121
export default [
2222
{
2323
ignores: ['node_modules/**/*', '**/CHANGELOG.md', '**/package-lock.json', 'dist/**/*', 'build/**/*', '**/coverage'],
@@ -57,22 +57,20 @@ export default [
5757
'react-hooks/rules-of-hooks': 'error',
5858
'react/display-name': 'off',
5959
'react-hooks/exhaustive-deps': 'off',
60-
60+
'react/prop-types': 'off',
6161
'prettier/prettier': [
6262
'error',
6363
{
6464
endOfLine: 'auto',
6565
},
6666
],
67-
6867
semi: 'off',
6968
'no-use-before-define': 'off',
7069
'comma-dangle': 'off',
7170
'space-before-function-paren': 'off',
7271
'multiline-ternary': 'off',
7372
'promise/param-names': 'off',
7473
'no-debugger': 'off',
75-
'react/prop-types': 'off',
7674
'no-extra-parens': 'off',
7775
'eol-last': 'off',
7876
'jsx-quotes': 'off',

0 commit comments

Comments
 (0)