forked from Serverless-Devs/Serverless-Devs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
112 lines (112 loc) · 2.22 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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"plugins": [
"@typescript-eslint"
],
"rules": {
"linebreak-style": [
"error",
"unix"
],
"indent": [
"error",
2
],
"quotes": [
2,
"single",
{
"allowTemplateLiterals": true
}
],
"semi": [
2,
"always"
],
"strict": "off",
"curly": 2,
"eqeqeq": 2,
"no-eval": 2,
"guard-for-in": 2,
"no-caller": 2,
"no-else-return": 2,
"no-eq-null": 2,
"no-extend-native": 2,
"no-extra-bind": 2,
"no-floating-decimal": 2,
"no-implied-eval": 2,
"no-labels": 2,
"no-with": 2,
"no-loop-func": 1,
"no-native-reassign": 2,
"no-redeclare": [
2,
{
"builtinGlobals": true
}
],
"no-delete-var": 2,
"no-shadow-restricted-names": 2,
"no-undef-init": 2,
"no-use-before-define": 0,
"no-undef": 2,
"callback-return": [
1,
[
"callback",
"cb",
"next"
]
],
"global-require": 0,
"no-console": 0,
"require-yield": 0,
"no-multi-spaces": 2,
"block-spacing": 2,
"keyword-spacing": 2,
"space-before-blocks": 2,
"no-process-exit": "off",
"comma-spacing": 2,
"key-spacing": 2,
"comma-dangle": 0,
"space-infix-ops": 2,
"prefer-const": "off",
"no-var": "off",
"prefer-rest-params": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-unused-vars": [
2,
{
"args": "none"
}
]
},
"env": {
"es6": true,
"node": true,
"browser": true,
"jest": true
},
"globals": {
"describe": true,
"it": true,
"before": true,
"after": true,
"beforeEach": true,
"afterEach": true
},
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
}
}