Matteo Scandolo | e3ed016 | 2016-12-01 10:09:12 -0800 | [diff] [blame] | 1 | { |
| 2 | "ecmaFeatures": { |
| 3 | "blockBindings": true, |
| 4 | "forOf": true, |
| 5 | "destructuring": true, |
| 6 | "arrowFunctions": true, |
| 7 | "templateStrings": true, |
| 8 | "generators": true |
| 9 | }, |
| 10 | "env": { |
| 11 | "node": true, |
| 12 | "es6": true |
| 13 | }, |
| 14 | "rules": { |
| 15 | "quotes": [2, "single"], |
| 16 | "no-undef": [2], |
| 17 | "object-curly-spacing": [2, "never"], |
| 18 | "no-unused-vars": [2, {"vars": "all", "args": "after-used"}], |
| 19 | "space-before-blocks": [2, {"keywords": "always", "functions":"always"}], |
| 20 | "brace-style": [2, "stroustrup", { "allowSingleLine": true }], |
| 21 | "no-param-reassign": [2, {"props": false}], |
| 22 | "max-len": [2, 120, 4], |
| 23 | "eqeqeq": [1, "smart"], |
| 24 | "new-cap": [2, {"capIsNewExceptions": ["Router"]}], |
| 25 | "func-names": 0, |
| 26 | "object-shorthand": [0, "never"], |
| 27 | "wrap-iife": [2, "any"], |
| 28 | "no-loop-func": 0, |
| 29 | "no-console": 0, |
| 30 | "padded-blocks": 0 |
| 31 | }, |
| 32 | "globals" :{ |
| 33 | "require": true |
| 34 | } |
| 35 | } |