-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
57 lines (57 loc) · 1.42 KB
/
Copy path.eslintrc.js
File metadata and controls
57 lines (57 loc) · 1.42 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
52
53
54
55
56
57
module.exports = {
env: {
es2021: true,
node: true,
},
extends: ["airbnb-base"],
parserOptions: {
ecmaVersion: 12,
sourceType: "module",
ecmaFeatures: {
experimentalObjectRestSpread: true,
},
},
rules: {
semi: "off",
"implicit-arrow-linebreak": "off",
"comma-dangle": "off",
"no-restricted-globals": "off",
"no-param-reassign": "off",
"operator-linebreak": "off",
"no-console": "off",
"no-return-assign": "off",
"object-curly-newline": "off",
"max-len": "off",
"no-restricted-syntax": "off",
"global-require": "off",
"arrow-parens": "off",
"arrow-body-style": "off",
quotes: "off",
"nonblock-statement-body-position": "off",
radix: "off",
"prefer-arrow-callback": "off",
"consistent-return": "off",
"func-names": "off",
"no-unused-expressions": "off",
"no-continue": "off",
"no-await-in-loop": "off",
"operator-assignment": "off",
"space-before-function-paren": "off",
"no-underscore-dangle": "off",
"no-useless-escape": "off",
"no-plusplus": "off",
"no-inner-declarations": "off",
"import/no-extraneous-dependencies": "off",
"no-unused-vars": ["error", { argsIgnorePattern: "options" }],
},
overrides: [
{
files: ["*.test.js"],
rules: {
"no-undef": "off",
"prefer-arrow-callback": "off",
"no-unused-expressions": "off",
},
},
],
};