.eslintrc.json 676 Bytes
Newer Older
1
{
2 3 4
  "env": {
    "browser": true,
    "jquery": true,
Tino Goratsch's avatar
Tino Goratsch committed
5 6
    "node": true,
    "es6": true
7 8 9
  },
  "extends": "eslint:recommended",
  "globals": {
10 11 12
    "grecaptcha": false,
    "bootbox": false,
    "Cookies": false
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
  },
  "rules": {
    "indent": [
      "error",
      4
    ],
    "linebreak-style": [
      "error",
      "unix"
    ],
    "quotes": [
      "error",
      "single"
    ],
    "semi": [
      "error",
      "always"
    ],
    "no-unused-vars": [
      "error",
      {
        "vars": "local"
      }
    ],
Tino Goratsch's avatar
Tino Goratsch committed
37
    "no-var": "error",
38 39 40 41 42 43
    "no-console": [
      "error",
      {
        "allow": [
          "warn",
          "error"
44
        ]
45 46 47
      }
    ]
  }
48
}