-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
44 lines (44 loc) · 1.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
{
"$schema": "https://json.schemastore.org/eslintrc",
"env": {
"browser": true,
"commonjs": false,
"es2021": true,
"node": true
},
"extends": ["eslint:recommended", "plugin:jsdoc/recommended"],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"ignorePatterns": ["_site"],
"rules": {
"arrow-parens": ["warn", "as-needed"],
"block-scoped-var": "warn",
"class-methods-use-this": "warn",
"no-extra-bind": "warn",
"no-extra-parens": "off",
"no-lonely-if": "warn",
"no-multiple-empty-lines": "warn",
"no-shadow": "warn",
"no-tabs": "warn",
"no-template-curly-in-string": "warn",
"no-trailing-spaces": "off",
"no-undef": "warn",
"no-unused-vars": "warn",
"no-useless-computed-key": "warn",
"no-useless-concat": "warn",
"no-useless-return": "warn",
"no-var": "warn",
"operator-assignment": "warn",
"prefer-arrow-callback": "warn",
"prefer-template": "warn",
"semi": "warn",
"yoda": "warn",
"jsdoc/require-returns": "off",
"jsdoc/require-returns-type": "off",
"jsdoc/require-property-description": "off",
"jsdoc/require-param-description": "off",
"jsdoc/require-returns-description": "off"
}
}