-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
31 lines (31 loc) · 875 Bytes
/
.eslintrc.json
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
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"airbnb",
"airbnb-typescript"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.eslint.json"
},
"plugins": [],
"rules": {
"linebreak-style": [ "error", "unix" ],
"quotes": [ "error", "single" ],
"semi": [ "error", "always" ],
"import/extensions": [ "error", "ignorePackages", { "": "never" } ],
"max-len": ["error", { "code": 120 }],
"no-unused-vars": "warn",
"no-unused-expressions": "warn",
"no-unused-labels": "warn",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-nested-ternary": "off",
"react/jsx-props-no-spreading": "off"
}
}