forked from PayU/openapi-validator-middleware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
28 lines (28 loc) · 781 Bytes
/
.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
{
"extends": "standard",
"plugins": [
"standard",
"promise",
"chai-friendly",
"@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
"env": {
"node": true,
"mocha": true
},
"rules": {
"no-useless-constructor": "off",
"no-unused-vars": "warn",
"eol-last": "off",
"space-before-function-paren": "off",
"indent": ["error", 4],
"quotes": ["error", "single", { "avoidEscape": true }],
"semi": ["error", "always",{ "omitLastInOneLineBlock": true}],
"one-var": ["off"],
"space-before-blocks": ["off"],
"camelcase": ["warn"],
"no-unused-expressions": 0,
"chai-friendly/no-unused-expressions": 2
}
}