-
Notifications
You must be signed in to change notification settings - Fork 33
/
.prettierrc
31 lines (30 loc) · 872 Bytes
/
.prettierrc
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
{
"extends": ["eslint:recommended", "prettier", "ssjs"],
"plugins": ["jsdoc", "prettier"],
"parserOptions": {
"ecmaVersion": 2018
},
"env": { "es6": true },
"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 } }],
"no-var": "error",
"prefer-const": "error",
"prettier/prettier": "warn"
}
}