This repository has been archived by the owner on Mar 20, 2023. It is now read-only.
forked from Nedvedyy/serverless-apigateway-plugin
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
82 lines (82 loc) · 1.71 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"env": {
"browser": true,
"mocha": true,
"jasmine": true
},
"extends": "airbnb-base",
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"import"
],
"rules": {
"consistent-return": 0,
"curly": 0,
"comma-dangle": 0,
"dot-notation": 0,
"eqeqeq": 2,
"indent": [
2,
2,
{
"VariableDeclarator": {
"var": 2,
"let": 2,
"const": 3
}
}
],
"new-cap": 0,
"new-parens": 0,
"no-await-in-loop": 0,
"no-console": 0,
"no-constant-condition": 0,
"no-extra-bind": 2,
"no-extra-semi": 2,
"no-inner-declarations": 0,
"no-new": 0,
"no-process-exit": 0,
"no-proto": 0,
"no-redeclare": 0,
"no-return-assign": 2,
"no-shadow": 0,
"no-trailing-spaces": 2,
"no-undef": 2,
"no-unused-vars": [
2,
{
"vars": "all",
"args": "none"
}
],
"no-underscore-dangle": 0,
"no-unused-expressions": 0,
"no-use-before-define": 0,
"no-extra-parens": 0,
"quotes": [
2,
"single"
],
"semi": 2,
"space-infix-ops": 2,
"keyword-spacing": 2,
"strict": 0,
"valid-typeof": 2,
"space-before-function-paren": [2, "never"],
"space-before-blocks": [2, "always"],
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"import/no-named-as-default": 0,
"import/no-named-default": 0,
"import/no-extraneous-dependencies": 0,
"import/prefer-default-export": 0,
"func-names": 0,
"no-param-reassign": 0,
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }]
}
}