BigW Consortium Gitlab

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