-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.eslintrc
More file actions
26 lines (26 loc) · 688 Bytes
/
.eslintrc
File metadata and controls
26 lines (26 loc) · 688 Bytes
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
{
"env": {
"jquery": true,
"browser": true,
"es2020": true
},
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"extends": ["plugin:@typescript-eslint/recommended", "./node_modules/@typhonjs-fvtt/eslint-foundry.js/config/latest/.eslintrc"],
"rules": {
"no-underscore-dangle": "off",
"import/extensions": "off",
"class-methods-use-this": [
"error",
{
"exceptMethods": ["getData", "_updateObject"]
}
],
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error", { "builtinGlobals": true, "hoist": "all", "allow": ["event"] }]
}
}