-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
57 lines (57 loc) · 1.38 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"extends": [
"plugin:jest/recommended",
"plugin:jest-formatting/recommended",
"eslint:recommended",
"google",
"plugin:prettier/recommended",
],
"plugins": [
"prettier",
"simple-import-sort"
],
"env": {
"node": true,
"es6": true,
},
"parserOptions": {
"ecmaVersion": 8
},
"rules": {
"simple-import-sort/exports": "error",
"simple-import-sort/imports": "error",
"prettier/prettier": "warn",
"no-console": 0,
"max-len": [2, {
"code": 160,
"tabWidth": 2,
"ignoreUrls": true,
"ignoreComments": false,
"ignoreRegExpLiterals": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
}],
"require-jsdoc": [2, {
"require": {
"FunctionDeclaration": false,
"MethodDefinition": false,
"ClassDeclaration": false,
},
}],
"max-classes-per-file": 0,
"no-return-assign": [2, "except-parens"],
"no-underscore-dangle": [2, {"allowAfterThis": true}],
"no-restricted-syntax": 0,
"no-continue": 0,
"dot-notation": [2, {"allowKeywords": true, "allowPattern": "^_[a-z]+$|^[a-z]+(_[a-z]+)+$"}],
"no-restricted-imports": [2, {"patterns": ["./*", "."]}],
"new-cap": 0,
"camelcase": 0,
"no-invalid-this": 0,
"object-curly-spacing": 0,
"quotes": 0,
"semi": 0,
"no-unused-expressions": 0,
"valid-typeof": 0
}
}