blob: ef5b468291a820a068b2935af25afe26930fe7c1 [file] [log] [blame]
Matteo Scandolo8a64fa42016-01-21 11:21:03 -08001{
2 "ecmaFeatures": {
3 "blockBindings": true,
4 "forOf": true,
5 "destructuring": true,
6 "arrowFunctions": true,
7 "templateStrings": true
8 },
9 "env": {
10 "browser": true,
11 "node": true,
12 "es6": true
13 },
14 "plugins": [
15 //"angular"
16 ],
17 "rules": {
18 "quotes": [2, "single"],
Matteo Scandolo170d3be2016-02-11 08:58:04 -080019 "no-undef": 2,
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080020 "camelcase": [1, {"properties": "always"}],
21 "no-underscore-dangle": 1,
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 "max-nested-callbacks": [2, 4],
29 "comma-spacing": [1, {"before": false, "after": true}],
30 "no-trailing-spaces": [1, { skipBlankLines: true }],
31 "no-unused-vars": [1, {"vars": "all", "args": "after-used"}],
32 "new-cap": 0,
33
34 //"angular/ng_module_name": [2, '/^xos\.*[a-z]*$/'],
35 //"angular/ng_controller_name": [2, '/^[a-z].*Ctrl$/'],
36 //"angular/ng_service_name": [2, '/^[A-Z].*Service$/'],
37 //"angular/ng_directive_name": [2, '/^[a-z]+[[A-Z].*]*$/'],
38 //"angular/ng_di": [0, "function or array"]
39 },
40 "globals" :{
Matteo Scandolo388795a2016-02-22 09:57:55 -080041 "angular": true,
42 "d3": true
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080043 }
44}