| { |
| "ecmaFeatures": { |
| "blockBindings": true, |
| "forOf": true, |
| "destructuring": true, |
| "arrowFunctions": true, |
| "templateStrings": true |
| }, |
| "env": { |
| "browser": true, |
| "node": true, |
| "es6": true |
| }, |
| "plugins": [ |
| //"angular" |
| ], |
| "rules": { |
| "quotes": [2, "single"], |
| "camelcase": [0, {"properties": "always"}], |
| "no-underscore-dangle": 1, |
| "eqeqeq": [0, "smart"], |
| "no-alert": 1, |
| "key-spacing": [1, { "beforeColon": false, "afterColon": true }], |
| "indent": [2, 2], |
| "no-irregular-whitespace": 1, |
| "eol-last": 0, |
| "max-nested-callbacks": [2, 4], |
| "comma-spacing": [1, {"before": false, "after": true}], |
| "no-trailing-spaces": [1, { skipBlankLines: true }], |
| "no-unused-vars": [1, {"vars": "all", "args": "after-used"}], |
| "new-cap": 0, |
| "no-undef": 2, |
| }, |
| "globals" :{ |
| "angular": true, |
| "topojson": true, |
| "_": true |
| } |
| } |