-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
35 lines (35 loc) · 951 Bytes
/
.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
{
"env": {
"browser": true,
"commonjs": true,
"es2023": true
},
"extends": ["airbnb-base", "eslint:recommended"],
"parserOptions": {
"ecmaVersion": 14
},
"ignorePatterns":[
"dist"
],
"rules": {
"no-console": "off",
"comma-dangle": "off",
"no-plusplus":"off",
"no-case-declarations":"off",
"no-restricted-syntax":"off",
"no-await-in-loop":"off",
"no-unused-vars":"warn",
"max-len": [2, 250, 4, {"ignoreUrls": true}],
"array-callback-return": "warn",
"prefer-template": "warn",
"prefer-const": "warn",
"no-trailing-spaces": "warn",
"no-multiple-empty-lines": "warn",
"indent": "warn",
"spaced-comment": "warn",
"padded-blocks": "warn",
"no-param-reassign": "warn",
"no-path-concat": "warn",
"arrow-body-style": "warn"
}
}