-
Notifications
You must be signed in to change notification settings - Fork 33
/
.eslintrc
37 lines (37 loc) · 1.06 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
{
"extends": ["eslint:recommended", "prettier", "ssjs"],
"plugins": ["jsdoc", "prettier"],
"rules": {
"padded-blocks": "off",
"prefer-rest-params": "off",
"prefer-spread": "off",
"require-jsdoc": [
"warn",
{
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true,
"ArrowFunctionExpression": false,
"FunctionExpression": true
}
}
],
"valid-jsdoc": "warn",
"spaced-comment": ["warn", "always", { "block": { "exceptions": ["*"], "balanced": true } }]
},
"overrides": [
{
"files": ["*.js"],
"env": { "es6": true },
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"no-var": "error",
"prefer-const": "error",
"prettier/prettier": "warn"
}
}
]
}