-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
38 lines (38 loc) · 1.12 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
module.exports = {
env: {
browser: true,
commonjs: true,
},
extends: [
"airbnb-typescript",
"airbnb/hooks",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier",
"prettier",
"plugin:prettier/recommended",
"plugin:import/recommended"
],
parser: "@typescript-eslint/parser",
parserOptions: {
tsconfigRootDir: __dirname,
project: "./tsconfig.json",
},
plugins: ["react", "@typescript-eslint"],
ignorePatterns: [".eslintrc.js", "build"],
rules: {
"react/jsx-props-no-spreading": "off",
"react/prop-types": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/interactive-supports-focus": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/lines-between-class-members": "off",
"import/no-cycle": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"no-bitwise": "off",
"no-plusplus": "off",
"default-case": "off",
"import/prefer-default-export": "off",
},
};