aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
blob: 05f6b6eb0d8e832ff96c200b3cebee44665a2eb8 (plain) (blame)
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
module.exports = {
  "env": {
    "browser": true,
    "es6": true
  },
  "extends": "eslint:recommended",
  "rules": {
    "indent": ["error", 2],
    "linebreak-style": ["error", "unix"],
    "quotes": ["error", "double", {
      "allowTemplateLiterals": true
    }],
    "semi": ["error", "always"],
    "no-console": 0
  },
  "parserOptions": {
    "ecmaVersion": 2017
  },
  "globals": {
    "$log": function(){},
    "le": {
      "_apps": {}
    },
    "$window": function(){},
    "$alert": function(){}
  }
};