-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
51 lines (51 loc) · 1.49 KB
/
.eslintrc
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
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"extends": [
"airbnb-typescript",
"airbnb/hooks",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"plugins": ["react", "@typescript-eslint", "import-helpers"],
"env": { "browser": true, "es6": true },
"globals": { "Atomics": "readonly", "SharedArrayBuffer": "readonly" },
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": { "jsx": true },
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"react/prop-types": "off",
"max-len": ["error", 120],
"prettier/prettier": ["error", { "endOfLine": "auto" }],
"import-helpers/order-imports": [
"error",
{
"newlinesBetween": "always",
"groups": ["module", ["parent", "sibling", "index"]],
"alphabetize": {
"order": "asc",
"ignoreCase": true
}
}
],
"import/prefer-default-export": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-empty-interface": [
"error",
{ "allowSingleExtends": true }
],
"no-alert": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "warn",
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"no-plusplus": "off",
"class-methods-use-this": "off",
"no-underscore-dangle": "off",
"react/display-name": "off",
"no-useless-return": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}