-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
51 lines (51 loc) · 1.09 KB
/
Copy path.eslintrc.json
File metadata and controls
51 lines (51 loc) · 1.09 KB
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
{
"env": {
"browser": false,
"node": true,
"mocha": true,
"es2020": true,
"es2021": true
},
"extends": [
"airbnb-base",
"eslint:recommended",
"plugin:mocha/recommended",
"plugin:node/recommended"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": [
"node",
"mocha",
"chai-expect",
"jsdoc"
],
"root": true,
"rules": {
"no-console": "off",
"no-param-reassign": "off",
"no-debugger": "off",
"nonblock-statement-body-position": [ "error", "any" ],
"curly": ["error", "multi-or-nest"],
"no-underscore-dangle": "off",
"mocha/no-exclusive-tests": "error",
"mocha/no-mocha-arrows": "off",
"import/extensions": ["error","always"],
"semi": [2,"never"]
},
"overrides": [{
"files": ["src/Fn/*.js"],
"plugins": [
"functional"
],
"extends": [
"plugin:functional/recommended",
"plugin:functional/external-recommended"
],
"rules": {
"functional/no-conditional-statement": ["error",{"allowReturningBranches": true}]
}
}]
}