.eslintrc 749 Bytes
Newer Older
🕺 Winnie 🕺's avatar
🕺 Winnie 🕺 committed
1
{
2
  "env": {
3
    "jquery": true,
4 5 6
    "browser": true,
    "es6": true
  },
7
  "extends": "airbnb-base",
🕺 Winnie 🕺's avatar
🕺 Winnie 🕺 committed
8 9 10
  "globals": {
    "_": false,
    "gl": false,
11 12
    "gon": false,
    "localStorage": false
Mike Greiling's avatar
Mike Greiling committed
13
  },
14
  "parser": "babel-eslint",
Mike Greiling's avatar
Mike Greiling committed
15
  "plugins": [
16
    "filenames",
17
    "import",
18 19
    "html",
    "promise"
Mike Greiling's avatar
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's avatar
Mike Greiling committed
29
  "rules": {
30
    "filenames/match-regex": [2, "^[a-z0-9_]+$"],
31
    "import/no-commonjs": "error",
32
    "no-multiple-empty-lines": ["error", { "max": 1 }],
33
    "promise/catch-or-return": "error",
34
    "no-underscore-dangle": ["error", { "allow": ["__"]}]
🕺 Winnie 🕺's avatar
🕺 Winnie 🕺 committed
35 36
  }
}