summaryrefslogtreecommitdiff
path: root/node_modules/postcss-alias/.eslintrc
blob: bac283ca906799b308d25f371976374edb49e36f (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
{
    "env": {
        "node": true,
        "mocha": true
    },

    "rules": {
        // Possible errors
        "no-cond-assign": 0,
        "no-console": 0,
        "no-extra-parens": 2,

        // Best practices
        "block-scoped-var": 2,
        "eqeqeq": [2, "smart"],
        "no-else-return": 2,
        "no-floating-decimal": 2,
        "wrap-iife": [2, "inside"],

        // Variables
        "no-use-before-define": 1,

        // Stylistic issues
        "brace-style": 2,
        "camelcase": 2,
        "new-cap": 2,
        "no-lonely-if": 2,
        "no-underscore-dangle": 2,
        "keyword-spacing": 2,
        "space-in-brackets": 0,
        "space-infix-ops": 2,
        "quotes": [2, "single"]
    }
}