summaryrefslogtreecommitdiff
path: root/.eslintrc.json
blob: 44eaeff89bb7dfbc195d2fac447c5a85ea15afc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
    "extends": "eslint:recommended",
    "parserOptions": {
        "ecmaVersion": 8
    },
    "rules": {
        "arrow-parens": ["error", "as-needed"],
        "comma-dangle": ["error", "never"],
        "dot-notation": "error",
        "eqeqeq": 2,
        "no-case-declarations": "error",
        "no-const-assign": 2,
        "no-undef": 0,
        "no-unused-vars": 0,
        "no-var": 2,
        "prefer-const": 2,
        "quote-props": ["error", "consistent"],
        "quotes": [2, "single", "avoid-escape"],
        "semi": 2
    }
}