-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
42 lines (42 loc) · 1.04 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
38
39
40
41
42
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"plugins": ["svelte3"],
"overrides": [
{"files": ["*.svelte"], "processor": "svelte3/svelte3"}
],
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 13,
"sourceType": "module"
},
"rules": {
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"semi": ["error", "never"],
"require-jsdoc": [
"warn",
{
"require": {
"FunctionDeclaration": true
}
}
],
"valid-jsdoc": "off",
"indent": ["error", 4, {"SwitchCase": 1}],
"no-unused-vars": ["error", {"varsIgnorePattern": "_"}],
"no-multi-spaces": "error",
"no-invalid-this": "error",
"no-trailing-spaces": "error",
"array-bracket-spacing": ["error", "never"],
"object-curly-spacing": "error",
"camelcase": ["error", {"properties": "never"}],
"comma-dangle": ["error", "always-multiline"],
"comma-spacing": "error",
"comma-style": "error"
}
}