Skip to content

Commit 5d81cd6

Browse files
committed
fix: lint
1 parent 2475d59 commit 5d81cd6

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

.eslintrc.js

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,47 @@ module.exports = {
44
es2020: true,
55
},
66
extends: [
7-
"airbnb",
8-
"plugin:react/recommended",
9-
"plugin:@typescript-eslint/recommended",
7+
'airbnb',
8+
'plugin:react/recommended',
9+
'plugin:@typescript-eslint/recommended',
1010
],
11-
ignorePatterns: ["*/build/**/*", "*.json", "*.txt", "yarn.lock", "*.yaml"],
12-
parser: "@typescript-eslint/parser",
11+
ignorePatterns: ['*/build/**/*', '*.json', '*.txt', 'yarn.lock', '*.yaml'],
12+
parser: '@typescript-eslint/parser',
1313
parserOptions: {
1414
ecmaFeatures: {
1515
jsx: true,
1616
},
1717
ecmaVersion: 11,
18-
sourceType: "module",
18+
sourceType: 'module',
1919
},
20-
plugins: ["react", "@typescript-eslint"],
20+
plugins: ['react', '@typescript-eslint'],
2121
rules: {
22-
semi: ["error", "always"],
23-
"no-unused-vars": "off",
24-
"import/extensions": "off",
25-
"import/no-unresolved": "off",
26-
"react/jsx-filename-extension": "off",
27-
indent: ["error", 2],
28-
"linebreak-style": ["error", "unix"],
29-
"object-curly-newline": "off",
30-
"@typescript-eslint/no-explicit-any": "off",
22+
semi: ['error', 'always'],
23+
'no-unused-vars': 'off',
24+
'import/extensions': 'off',
25+
'import/no-unresolved': 'off',
26+
'react/jsx-filename-extension': 'off',
27+
indent: ['error', 2],
28+
'linebreak-style': ['error', 'unix'],
29+
'object-curly-newline': 'off',
30+
'@typescript-eslint/no-explicit-any': 'off',
3131
},
3232
overrides: [
3333
{
34-
files: ["*.tsx"],
34+
files: ['*.tsx'],
3535
rules: {
36-
"react/prop-types": "off",
37-
"react/jsx-props-no-spreading": "off",
38-
"import/no-extraneous-dependencies": "off",
36+
'react/prop-types': 'off',
37+
'react/jsx-props-no-spreading': 'off',
38+
'import/no-extraneous-dependencies': 'off',
3939
},
4040
},
4141
{
42-
files: ["./src/**/*.spec.ts", "spec/*.ts"],
42+
files: ['./src/**/*.spec.ts', 'spec/*.ts'],
4343
rules: {
44-
"no-unused-expressions": "off",
45-
"prefer-arrow-callback": "off",
46-
"func-names": "off",
47-
"import/no-extraneous-dependencies": "off",
44+
'no-unused-expressions': 'off',
45+
'prefer-arrow-callback': 'off',
46+
'func-names': 'off',
47+
'import/no-extraneous-dependencies': 'off',
4848
},
4949
},
5050
],

0 commit comments

Comments
 (0)