forked from ShoyuVanilla/FoundryVTT-Chat-Portrait
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
48 lines (48 loc) · 1.28 KB
/
.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
39
40
41
42
43
44
45
46
47
48
{
"env": {
"jquery": true,
"node": true,
"browser": true,
"es2020": true,
"es6": true
},
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"@typhonjs-fvtt/eslint-config-foundry.js/0.8.0",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"plugins": [
"@typescript-eslint",
"eslint-plugin-tsdoc"
],
"rules": {
"tsdoc/syntax": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"prettier/prettier": [
"off",
{},
{
"usePrettierrc": true
}
],
"no-underscore-dangle": "off",
"import/extensions": "off",
"class-methods-use-this": [
"off",
{
"exceptMethods": ["getData", "_updateObject"]
}
],
"@typescript-eslint/consistent-type-assertions": "off",
"@typescript-eslint/ban-ts-comment": "off",
"no-shadow": ["warn", { "builtinGlobals": true, "hoist": "all", "allow": ["event"] }]
}
}