aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
blob: 28ad4a9b6b12ad30733ef9717b80db299cdb6407 (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
28
29
30
module.exports = {
  "env": {
    "browser": true,
    "es6": true,
    "node": 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": 9,
    "sourceType": "module"
  },
  "globals": {
    "$log": function(){},
    "le": {
      "_apps": {}
    },
    "$window": function(){},
    "$alert": function(){},
    "pkg93": {}
  }
};