blob: d580f3a3851d9a3d4eabc94d65ac72b07e815745 [file] [log] [blame]
Matteo Scandoloa5d03d52016-07-21 11:35:46 -07001{
2 "ecmaFeatures": {
3 "blockBindings": true,
4 "forOf": true,
5 "destructuring": true,
6 "arrowFunctions": true,
7 "templateStrings": true
8 },
9 "env": {
10 "browser": true,
11 "es6": true
12 },
13 "plugins": [
14 "angular"
15 ],
16 "rules": {
17 "quotes": [2, "single"],
18 "camelcase": [0, {"properties": "always"}],
19 "no-underscore-dangle": 0,
20 "no-undef": [2],
21 "no-var": [2],
22 "eqeqeq": [2, "smart"],
23 "no-alert": 1,
24 "key-spacing": [1, { "beforeColon": false, "afterColon": true }],
25 "indent": [2, 2],
26 "no-irregular-whitespace": 1,
27 "eol-last": 0,
28 "comma-spacing": [1, {"before": false, "after": true}],
29 "no-trailing-spaces": [1, { skipBlankLines: true }],
30 "no-unused-vars": [1, {"vars": "all", "args": "after-used"}],
31 "new-cap": 0,
32 "no-multiple-empty-lines": 2,
33
34 "angular/ng_module_name": [2, '/^xos\.*[a-z]*$/'],
35 "angular/ng_controller_name": [2, '/^[[[a-z].*]*Ctrl$/'],
36 "angular/ng_directive_name": [2, '/^[xos[[A-Z].*]*$/'],
37 "angular/ng_di": [0, "function or array"],
38 "angular/ng_angularelement": 0,
39 "angular/ng_on_watch": 1,
Matteo Scandolobfb8ebd2016-10-28 17:53:05 +020040 "angular/ng_controller_as_vm": 0,
41 "angular/ng_controller_as": 2,
42 "angular/ng_on_watch": 0,
Matteo Scandoloa5d03d52016-07-21 11:35:46 -070043 },
44 "globals" :{
45 "angular": true
46 }
47}