forked from Warzone2100/warzone2100
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
59 lines (59 loc) · 1.49 KB
/
.eslintrc.json
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
{
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 5,
"sourceType": "script",
"ecmaFeatures": {
"jsx": false,
"globalReturn": false
},
},
"rules": {
"no-undef": "off",
"no-fallthrough": "off",
"no-mixed-spaces-and-tabs": "off",
"no-console": "off",
"indent": "off",
"semi": "off",
"no-tabs": "off",
"no-redeclare": "off",
"curly": "off",
"dot-location": "off",
"getter-return": "off",
"yoda": "off",
"require-atomic-updates": "off",
"no-with": "off",
"no-prototype-builtins": "off",
"no-misleading-character-class": "off",
"no-async-promise-executor": "off",
"no-unused-vars": "off",
"no-cond-assign": ["error", "always"]
},
"globals": {
"version": "readonly",
"selectedPlayer": "readonly",
"gameTime": "readonly",
"modList": "readonly",
"difficulty": "readonly",
"mapName": "readonly",
"tilesetType": "readonly",
"baseType": "readonly",
"alliancesType": "readonly",
"powerType": "readonly",
"maxPlayers": "readonly",
"scavengers": "readonly",
"mapWidth": "readonly",
"mapHeight": "readonly",
"scavengerPlayer": "readonly",
"isMultiplayer": "readonly",
"me": "readonly",
"scriptName": "readonly",
"scriptPath": "readonly",
"Stats": "readonly",
"Upgrades": "readonly",
"groupSizes": "readonly",
"playerData": "readonly",
"derrickPositions": "readonly",
"startPositions": "readonly"
}
}