forked from mysurvive/pf2e-thaum-vuln
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.cjs
50 lines (42 loc) · 947 Bytes
/
.eslintrc.cjs
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
// SPDX-FileCopyrightText: 2022 Johannes Loher
// SPDX-FileCopyrightText: 2022 David Archibald
//
// SPDX-License-Identifier: MIT
module.exports = {
parserOptions: {
ecmaVersion: 13,
extraFileExtensions: [".cjs", ".mjs"],
sourceType: "module",
},
env: {
browser: true,
es2022: true,
},
globals: {
$: "readonly",
pf2e: "readonly",
globalThis: "readonly",
isEmpty: "readonly",
libWrapper: "readonly",
socketlib: "readonly",
// @typhonjs-fvtt/eslint-config-foundry.js hasn't been updated in 3 years, missing some stuff
fromUuidSync: "readonly",
},
extends: [
"eslint:recommended",
"@typhonjs-fvtt/eslint-config-foundry.js/0.8.0",
"plugin:prettier/recommended",
],
plugins: [],
rules: {
// Specify any specific ESLint rules.
},
overrides: [
{
files: ["./*.js", "./*.cjs", "./*.mjs"],
env: {
node: true,
},
},
],
};