blob: 1cd7d333540234bcb927a0177a138a7691aa812d [file] [log] [blame]
Matteo Scandolo4b3bf7f2016-04-12 11:38:40 -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 "node": true,
12 "es6": true
13 },
14 "plugins": [
15 //"angular"
16 ],
17 "rules": {
18 "quotes": [2, "single"],
19 "camelcase": [0, {"properties": "always"}],
Matteo Scandolo881fed52016-05-23 15:31:25 -070020 "no-underscore-dangle": 0,
Matteo Scandolo4b3bf7f2016-04-12 11:38:40 -070021 "eqeqeq": [2, "smart"],
22 "no-alert": 1,
23 "key-spacing": [1, { "beforeColon": false, "afterColon": true }],
24 "indent": [2, 2],
25 "no-irregular-whitespace": 1,
26 "eol-last": 0,
Matteo Scandolo4b3bf7f2016-04-12 11:38:40 -070027 "comma-spacing": [1, {"before": false, "after": true}],
28 "no-trailing-spaces": [1, { skipBlankLines: true }],
29 "no-unused-vars": [1, {"vars": "all", "args": "after-used"}],
30 "new-cap": 0,
31
32 //"angular/ng_module_name": [2, '/^xos\.*[a-z]*$/'],
33 //"angular/ng_controller_name": [2, '/^[a-z].*Ctrl$/'],
34 //"angular/ng_service_name": [2, '/^[A-Z].*Service$/'],
35 //"angular/ng_directive_name": [2, '/^[a-z]+[[A-Z].*]*$/'],
36 //"angular/ng_di": [0, "function or array"]
37 },
38 "globals" :{
39 "angular": true
40 }
41}