-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
48 lines (48 loc) · 1.43 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
{
"root": true,
"env": {
"es6": true,
"browser": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": [
"airbnb-base",
"airbnb-typescript"
],
"rules": {
"quotes": "off",
"@typescript-eslint/space-before-blocks": "off",
"@typescript-eslint/quotes": "warn",
"linebreak-style": 0,
"react/jsx-curly-brace-presence": "off",
"react/jsx-wrap-multilines": "off",
"@typescript-eslint/semi": "warn",
"jsx-a11y/label-has-associated-control": "off",
"arrow-body-style": "off",
"no-trailing-spaces": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/comma-dangle": "off",
"class-methods-use-this": "off",
"comma-dangle": "off",
"import/no-cycle": "off",
"import/no-extraneous-dependencies": "off",
"import/order": "off",
"import/prefer-default-export": "off",
"jsx-a11y/anchor-is-valid": "off",
"max-len": "off",
"no-console": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-return-assign": "off",
"object-curly-newline": "off",
"react/forbid-prop-types": "off",
"react/jsx-filename-extension": "off",
"operator-linebreak": ["error", "after", { "overrides": { "?": "before", ":": "before", "&&": "before"} }],
"react/jsx-props-no-spreading": "off",
"react/react-in-jsx-scope": "off",
"react/require-default-props": "off"
}
}