aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc
blob: fa283fdbed7436bc2eca09a64cfcd3494bcab39c (plain) (blame)
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
{
  "env": {
    "es6": true,
    "node" : true,
    "browser" : true,
    "webextensions": true
  },
  "parser": "babel-eslint",
  "parserOptions": {
    "ecmaFeatures": {
      "jsx": true
    }
  },
  "extends": [ "eslint:recommended" ],
  "rules": {
    "arrow-body-style": "off",
    "brace-style": ["error", "1tbs", { "allowSingleLine": true }],
    "id-length": "off",
    "indent": ["error", 2],
    "newline-after-var": "off",
    "newline-before-return": "off",
    "multiline-ternary": "off",
    "max-statements": ["error", 15],
    "no-console": "off",
    "no-param-reassign": "off",
    "no-ternary": "off",
    "object-curly-spacing": [
      "error",
      "always", { "arraysInObjects": false, "objectsInObjects": false }
    ],
    "object-curly-newline": "off",
    "object-property-newline": "off",
    "object-shorthand": "off",
    "padded-blocks": "off",
    "prefer-template": "off",
    "require-jsdoc": "off",
    "sort-imports": "off",
    "sort-keys": "off",
    "sort-vars": "off",
    "space-before-function-paren": ["error", "never"]
  }
}