Skip to content
This repository was archived by the owner on Nov 16, 2024. It is now read-only.

Commit dae6ddb

Browse files
committed
chore: update eslint rule
1 parent 4c444b1 commit dae6ddb

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.eslintrc.cjs

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@ module.exports = {
22
root: true,
33
env: { browser: true, es2020: true },
44
extends: [
5-
'eslint:recommended',
6-
'plugin:react/recommended',
7-
'plugin:react/jsx-runtime',
8-
'plugin:react-hooks/recommended',
5+
"eslint:recommended",
6+
"plugin:react/recommended",
7+
"plugin:react/jsx-runtime",
8+
"plugin:react-hooks/recommended",
99
],
10-
ignorePatterns: ['dist', '.eslintrc.cjs'],
11-
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
12-
settings: { react: { version: '18.2' } },
13-
plugins: ['react-refresh'],
10+
ignorePatterns: ["dist", ".eslintrc.cjs"],
11+
parserOptions: { ecmaVersion: "latest", sourceType: "module" },
12+
settings: { react: { version: "18.2" } },
13+
plugins: ["react-refresh"],
1414
rules: {
15-
'react/jsx-no-target-blank': 'off',
16-
'react-refresh/only-export-components': [
17-
'warn',
15+
"react/jsx-no-target-blank": "off",
16+
"react-refresh/only-export-components": [
17+
"warn",
1818
{ allowConstantExport: true },
1919
],
20+
"react/prop-types": "off",
2021
},
21-
}
22+
};

0 commit comments

Comments
 (0)