summaryrefslogtreecommitdiff
path: root/.eslintrc
blob: 0fcd866778f1253b320ecb2b7a8a460405c95c26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  "env": {
    "jquery": true,
    "browser": true,
    "es6": true
  },
  "extends": "airbnb-base",
  "globals": {
    "_": false,
    "gl": false,
    "gon": false,
    "localStorage": false
  },
  "plugins": [
    "filenames",
    "import"
  ],
  "settings": {
    "import/resolver": {
      "webpack": {
        "config": "./config/webpack.config.js"
      }
    }
  },
  "rules": {
    "filenames/match-regex": [2, "^[a-z0-9_]+(.js)?$"],
    "no-multiple-empty-lines": ["error", { "max": 1 }]
  }
}