-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.config.js
66 lines (65 loc) · 2.26 KB
/
eslint.config.js
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import globals from "globals";
import pluginJs from "@eslint/js";
import eslintConfigPrettier from "eslint-config-prettier";
export default [
pluginJs.configs.recommended,
eslintConfigPrettier,
{
languageOptions: {
ecmaVersion: 2022,
sourceType: "module",
globals: {
...globals.browser,
$: "readonly",
ActiveEffect: "readonly",
ActiveEffects: "readonly",
ActiveEffectConfig: "readonly",
Actor: "readonly",
Actors: "readonly",
ActorSheet: "readonly",
AudioHelper: "readonly",
BaseItem: "readonly",
ChatMessage: "readonly",
Collection: "readonly",
ContextMenu: "readonly",
Dialog: "readonly",
DocumentSheet: "readonly",
DocumentSheetConfig: "readonly",
Folder: "readonly",
FormDataExtended: "readonly",
Handlebars: "readonly",
HandlebarsHelpers: "readonly",
Hooks: "readonly",
Item: "readonly",
Items: "readonly",
ItemSheet: "readonly",
jQuery: "readonly",
Macro: "readonly",
Macros: "readonly",
MacroConfig: "readonly",
MersenneTwister: "readonly",
Ray: "readonly",
Roll: "readonly",
SearchFilter: "readonly",
SettingsConfig: "readonly",
SortingHelpers: "readonly",
TextEditor: "readonly",
Token: "readonly",
TokenDocument: "readonly",
Tour: "readonly",
CONFIG: "readonly",
CONST: "readonly",
foundry: "readonly",
game: "readonly",
canvas: "readonly",
ui: "readonly",
fromUuid: "readonly",
fromUuidSync: "readonly",
renderTemplate: "readonly",
loadTemplates: "readonly",
SimpleCalendar: "readonly",
ROUTE_PREFIX: "readonly",
},
},
},
];