generated from typhonjs-fvtt-demo/template-svelte-esm
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
38 lines (38 loc) · 883 Bytes
/
.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
{
"extends": [
"@typhonjs-config/eslint-config/esm/2022/browser",
"@typhonjs-fvtt/eslint-config-foundry.js",
"eslint:recommended",
"prettier",
"plugin:svelte/recommended"
],
"plugins": ["prettier"],
"globals": {
"warpgate": "readonly",
"fromUuid": "readonly",
"fromUuidSync": "readonly"
},
"env": {
"jquery": true
},
"overrides": [{ "files": ["*.svelte"], "parser": "svelte-eslint-parser" }],
"rules": {
"brace-style": ["warn", "1tbs", { "allowSingleLine": true }],
"no-shadow": [
"error",
{
"builtinGlobals": true,
"hoist": "all",
"allow": ["document", "event", "name", "parent", "status", "top"]
}
],
"id-length": ["warn", { "exceptions": ["i", "x", "y"], "properties": "never" }],
"prettier/prettier": [
"error",
{
"singleQuote": true,
"endOfLine": "auto"
}
]
}
}