forked from dmdorman/hero6e-foundryvtt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslint.config.mjs
83 lines (78 loc) · 2.74 KB
/
eslint.config.mjs
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
import js from "@eslint/js";
import globals from "globals";
import stylisticJs from "@stylistic/eslint-plugin-js";
import eslintConfigPrettier from "eslint-config-prettier";
export default [
{
plugins: {
"@stylistic/js": stylisticJs,
},
languageOptions: {
ecmaVersion: 2022,
globals: {
...globals.browser,
...globals.jquery,
...globals.node,
ActiveEffect: "readonly",
Actor: "readonly",
Actors: "readonly",
ActorSheet: "readonly",
Application: "readonly",
canvas: "readonly",
ChatMessage: "readonly",
Combat: "readonly",
Combatant: "readonly",
CombatTracker: "readonly",
CONFIG: "readonly",
CONST: "readonly",
DefaultTokenConfig: "readonly",
Dialog: "readonly",
Die: "readonly",
dragRuler: "readonly",
FilePicker: "readonly",
fromUuid: "readonly",
fromUuidSync: "readonly",
Folder: "readonly",
FormApplication: "readonly",
FormDataExtended: "readonly",
foundry: "readonly",
game: "readonly",
getDocumentClass: "readonly",
Handlebars: "readonly",
HERO: "readonly",
HeroRuler: "readonly",
HeroSystem6eItem: "readonly",
HexagonalGrid: "readonly",
Hooks: "readonly",
ImageHelper: "readonly",
Item: "readonly",
Items: "readonly",
ItemSheet: "readonly",
loadTemplates: "readonly",
NumericTerm: "readonly",
Macro: "readonly",
MeasuredTemplate: "readonly",
OperatorTerm: "readonly",
PIXI: "readonly",
quench: "readonly",
renderTemplate: "readonly",
Roll: "readonly",
RollTerm: "readonly",
Ruler: "readonly",
SceneNavigation: "readonly",
SimpleCalendar: "readonly",
TextEditor: "readonly",
Token: "readonly",
TokenDocument: "readonly",
ui: "readonly",
DetectionMode: "readonly",
OutlineOverlayFilter: "readonly",
DocumentSheetConfig: "readonly",
ActiveEffectConfig: "readonly",
Scene: "readonly",
},
},
},
js.configs.recommended,
eslintConfigPrettier,
];