aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: 4862acfbe64ed77fe9653d01d660f4e93a36e3d1 (plain)
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
64
65
66
67
68
69
{
    "name": "traccar-web",
    "devDependencies": {
        "eslint": "^4.4.1"
    },
    "scripts": {
        "lint": "./node_modules/.bin/eslint web/."
    },
    "eslintConfig": {
        "extends": "eslint:all",
        "env": {
            "browser": true
        },
        "globals": {
            "Ext": false,
            "ol": false,
            "Traccar": false,
            "Strings": false,
            "Locale": false,
            "proj4": false
        },
        "rules": {
            "strict": "off",
            "max-lines": ["error", 1000],
            "max-len": ["error", 180],
            "max-statements": ["error", 35],
            "max-params": ["error", 5],
            "indent": ["error", 4, {
                "SwitchCase": 1
            }],
            "quotes": ["error", "single"],
            "padded-blocks": ["error", "never"],
            "dot-location": ["error", "property"],
            "wrap-iife": ["error", "inside"],
            "dot-notation": "off",
            "array-bracket-newline": "off",
            "array-element-newline": "off",
            "sort-keys": "off",
            "sort-vars": "off",
            "no-magic-numbers": "off",
            "no-mixed-operators": "off",
            "prefer-template": "off",
            "newline-per-chained-call": "off",
            "object-shorthand": "off",
            "func-names": "off",
            "init-declarations": "off",
            "no-var": "off",
            "id-length": "off",
            "no-undefined": "off",
            "object-curly-newline": "off",
            "prefer-destructuring": "off",
            "no-plusplus": "off",
            "no-param-reassign": "off",
            "no-ternary": "off",
            "multiline-ternary": "off",
            "one-var-declaration-per-line": "off",
            "no-shadow": "off",
            "no-else-return": "off",
            "consistent-this": "off",
            "quote-props": "off",
            "no-negated-condition": "off",
            "prefer-arrow-callback": "off",
            "no-prototype-builtins": "off",
            "no-multi-assign": "off",
            "no-bitwise": "off",
            "prefer-rest-params": "off"
        }
    }
}