-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
48 lines (48 loc) · 1.18 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
45
46
47
48
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2021,
"ecmaFeatures": {
"globalReturn": false,
"impliedStrict": false,
"jsx": false
}
},
"extends": [
"eslint:recommended",
"plugin:svelte/recommended",
"plugin:storybook/recommended",
"plugin:@kws3/svelte4/base"
],
"overrides": [
{
"files": [
"*.svelte"
],
"parser": "svelte-eslint-parser"
}
],
"rules": {
"semi": ["error", "always"],
"eqeqeq": ["error", "smart"],
"svelte/no-dupe-else-if-blocks": "error",
"svelte/no-dynamic-slot-name": "error",
"svelte/no-not-function-handler": "error",
"svelte/no-object-in-text-mustaches": "error",
"svelte/valid-compile": 0,
"svelte/no-at-html-tags": "error",
"svelte/no-at-debug-tags": "error",
"svelte/no-unused-svelte-ignore": "error",
"svelte/no-inner-declarations": "error",
"svelte/comment-directive": "error",
"svelte/system": "error",
"svelte/button-has-type": "error",
"@kws3/svelte4/no-date-string-arg": "error",
"@kws3/svelte4/no-datalist-scaffold": "error"
}
}