GitLab steht Mittwoch, den 08. Juli, zwischen 09:00 und 13:00 Uhr aufgrund von Wartungsarbeiten nicht zur Verfügung.

.eslintrc 690 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
  "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 33
    "no-multiple-empty-lines": ["error", { "max": 1 }],
    "promise/catch-or-return": "error"
winniehell's avatar
winniehell committed
34 35
  }
}