-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy path.eslintrc.json
More file actions
63 lines (63 loc) · 1.21 KB
/
Copy path.eslintrc.json
File metadata and controls
63 lines (63 loc) · 1.21 KB
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
{
"env": {
"browser": true,
"es2021": true
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "script"
},
"rules": {
"camelcase": ["warn", {
"properties": "never",
"ignoreDestructuring": true,
"ignoreImports": true,
"ignoreGlobals": true,
"allow": [
"^t2_",
"^sd_",
"^comfyui_",
"^MODE_T2_",
"^MangaPanelsImage_",
"^ComfyUI_",
"^base_",
"^OP_",
"^class_type$",
"^UPPER_"
]
}],
"new-cap": ["warn", {
"newIsCap": true,
"capIsNew": false,
"properties": false
}],
"no-unused-vars": ["warn", {
"vars": "all",
"args": "none",
"ignoreRestSiblings": true
}],
"no-undef": "off",
"no-redeclare": "warn"
},
"globals": {
"$": "readonly",
"canvas": "writable",
"fabric": "readonly",
"jQuery": "readonly",
"Pickr": "readonly",
"rough": "readonly",
"Sortable": "readonly",
"SimpleLogger": "writable"
},
"ignorePatterns": [
"json_js/**",
"test/**",
"third/**",
"01_build/**",
"02_images_svg/**",
"03_images/**",
"99_doc/**",
"font/**",
"node_modules/**"
]
}