1 | {
|
2 | "extends": "airbnb",
|
3 | "rules": {
|
4 | "no-prototype-builtins" : "off",
|
5 | "func-names": 0,
|
6 | "global-require": 0,
|
7 | "no-console": 0,
|
8 | "max-len": 0,
|
9 | "quotes": [
|
10 | "error",
|
11 | "single"
|
12 | ],
|
13 | "quote-props": [
|
14 | "error",
|
15 | "consistent"
|
16 | ],
|
17 | "no-mixed-spaces-and-tabs": [
|
18 | "error",
|
19 | "smart-tabs"
|
20 | ],
|
21 | "indent": [
|
22 | "error",
|
23 | "tab",
|
24 | { "SwitchCase": 1 }
|
25 | ],
|
26 | "space-in-parens": [
|
27 | "error",
|
28 | "always"
|
29 | ],
|
30 | "no-multi-spaces": [
|
31 | "error",
|
32 | {
|
33 | "exceptions": {
|
34 | "VariableDeclarator": true,
|
35 | "AssignmentExpression": true
|
36 | }
|
37 | }
|
38 | ],
|
39 | "key-spacing" : [
|
40 | "error",
|
41 | {
|
42 | "beforeColon" : true,
|
43 | "align" : "colon"
|
44 | }
|
45 | ],
|
46 | "brace-style" : [
|
47 | "error",
|
48 | "stroustrup"
|
49 | ],
|
50 | "comma-dangle": "off",
|
51 | "no-tabs": 0,
|
52 | "padded-blocks": "off",
|
53 | "no-underscore-dangle": "off"
|
54 | },
|
55 | "globals": {
|
56 | "appRequire": true,
|
57 | "localStorage": true,
|
58 | "window": true,
|
59 | "document": true,
|
60 | "XMLHttpRequest": true,
|
61 | "firebase": true,
|
62 | "libRequire": true
|
63 | }
|
64 | }
|