summaryrefslogtreecommitdiff
path: root/.eslintrc
blob: 18d322a9c34d3d1755e5e7bc345d3ed93ea37b59 (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
{
  "env": {
    "browser": true,
    "node": true,
    "mocha": true,
    "es6": true
  },
  "parser": "babel-eslint",
  "parserOptions": {
    "ecmaVersion": 8,
    "sourceType": "module"
  },
  "extends": "eslint:recommended",
  "rules": {
    "eqeqeq": 0,
    "guard-for-in": 2,
    "indent": [
      2,
      4,
      {
        "SwitchCase": 1
      }
    ],
    "no-console": 0,
    "no-caller": 2,
    "no-undef": 2,
    "no-unused-vars": 2,
    "no-shadow": 2,
    "no-eval": 2,
    "comma-style": [
      2,
      "last"
    ],
    "semi": 0,
    "prefer-arrow-callback": 2,
    "arrow-spacing": 2,
    "object-shorthand": 2,
    "prefer-destructuring": 2,
    "no-eq-null": 0,
    "no-unused-expressions": 0,
    "no-loop-func": 2,
    "dot-notation": 0,
    "no-trailing-spaces": 2,
    "valid-jsdoc": ["error", {
        "requireReturn": false,
        "requireReturnDescription": false,
        "requireReturnType": false
    }]
  }
}