.eslintrc 662 Bytes
Newer Older
winniehell's avatar
winniehell committed
1
{
2
  "env": {
3
    "jquery": true,
4 5 6
    "browser": true,
    "es6": true
  },
7
  "extends": "airbnb-base",
winniehell's avatar
winniehell committed
8 9 10
  "globals": {
    "_": false,
    "gl": false,
11 12
    "gon": false,
    "localStorage": false
Mike Greiling's avatar
Mike Greiling committed
13 14
  },
  "plugins": [
15
    "filenames",
16
    "import",
17 18
    "html",
    "promise"
Mike Greiling's avatar
Mike Greiling committed
19
  ],
20
  "settings": {
21
    "html/html-extensions": [".html", ".html.raw", ".vue"],
22 23 24 25 26 27
    "import/resolver": {
      "webpack": {
        "config": "./config/webpack.config.js"
      }
    }
  },
Mike Greiling's avatar
Mike Greiling committed
28
  "rules": {
29
    "filenames/match-regex": [2, "^[a-z0-9_]+$"],
30
    "import/no-commonjs": "error",
31 32
    "no-multiple-empty-lines": ["error", { "max": 1 }],
    "promise/catch-or-return": "error"
winniehell's avatar
winniehell committed
33 34
  }
}