forked from nconrad/hotmap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
40 lines (40 loc) · 1.12 KB
/
.eslintrc.js
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
module.exports = {
"root": true,
"extends": "standard",
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false,
"codeFrame": false
},
"rules": {
"semi": ["off"],
"space-before-function-paren": ["error", "never"],
"indent": ["off", 4],
"one-var": 0,
"object-curly-spacing": 0,
"no-unused-expressions": 0,
"object-property-newline": 0,
"no-new": 0,
"comma-dangle": 0,
"curly": 0,
"space-in-parens": 0,
"eqeqeq": 0,
"no-unused-vars": 0, // relying on editor for this one
"no-multiple-empty-lines": ["error", {"max": 2}],
"padded-blocks": 0,
"new-cap": 0, // ignore for Pixi.js
"no-extend-native": 0,
"no-throw-literal": 0,
"no-multi-spaces": 0,
"no-restricted-modules": 0
},
"globals": {
"PIXI": "readonly",
"requestAnimationFrame": "readonly",
"fetch": "readonly",
"alert": "readonly",
"Picker": "readonly",
"Blob": "readonly"
}
};