-
Notifications
You must be signed in to change notification settings - Fork 75
/
.eslintrc.json
48 lines (48 loc) · 1.55 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
38
39
40
41
42
43
44
45
46
47
48
{
"extends": "airbnb-base",
"env": { "node": true },
"parserOptions": { "ecmaVersion": 2022 },
"plugins": [
"no-only-tests"
],
"rules": {
"array-bracket-spacing": "off",
"arrow-parens": "off",
"class-methods-use-this": "off",
"camelcase": [ "error", { "ignoreDestructuring": true, "properties": "never" } ],
"comma-dangle": "off",
"consistent-return": "off",
"curly": "off",
"default-param-last": "off", // TODO enable this and refactor the code
"function-call-argument-newline": "off",
"function-paren-newline": "off",
"global-require": "off",
"implicit-arrow-linebreak": "off",
"import/newline-after-import": "off",
"import/order": "off",
"lines-between-class-members": "off",
"max-classes-per-file": "off",
"max-len": "off",
"no-continue": "off",
"no-debugger": "off",
"no-else-return": "off",
"no-multiple-empty-lines": "off",
"no-nested-ternary": "off",
"no-only-tests/no-only-tests": "error",
"no-restricted-syntax": "off",
"no-underscore-dangle": "off",
"nonblock-statement-body-position": "off",
"object-curly-newline": [ "error", {
"ObjectExpression": { "consistent": true },
"ObjectPattern": { "minProperties": 0 }
} ],
"object-property-newline": "off",
"operator-linebreak": "off",
"padded-blocks": "off",
"prefer-object-spread": "off",
"prefer-template": "off",
"quotes": [ "error", "single", { "allowTemplateLiterals": true, "avoidEscape": true } ],
"space-infix-ops": "off",
"spaced-comment": "off"
}
}