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(){}
}
};
|