-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.eslintrc.json
37 lines (37 loc) · 1.17 KB
/
.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
32
33
34
35
36
37
{
"extends": [
"airbnb-base",
"plugin:n/recommended",
"plugin:unicorn/recommended",
"plugin:@eslint-community/eslint-comments/recommended"
],
"plugins": ["n", "unicorn"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"env": {
"node": true,
"browser": false
},
"rules": {
"arrow-body-style": "off",
"comma-dangle": ["error", "always-multiline"],
"global-require": "off",
"indent": ["warn", 4],
"linebreak-style": "off",
"no-console": "off",
"import/no-dynamic-require": "off",
"max-len": ["error", { "code": 140 }],
"no-param-reassign": "off",
"no-use-before-define": "off",
"unicorn/prevent-abbreviations": "off",
"unicorn/no-nested-ternary": "off",
"unicorn/no-array-push-push": "off",
"unicorn/no-anonymous-default-export": "off",
"unicorn/no-null": "off",
"unicorn/no-useless-promise-resolve-reject": "off",
"unicorn/catch-error-name": ["error", { "name": "e" }],
"@eslint-community/eslint-comments/no-unused-disable": "error"
}
}