| { |
| "parserOptions": { |
| "ecmaFeatures": { |
| "blockBindings": true, |
| "forOf": true, |
| "destructuring": true, |
| "arrowFunctions": true, |
| "templateStrings": true, |
| "generators": true |
| } |
| }, |
| "env": { |
| "node": true, |
| "es6": true |
| }, |
| "rules": { |
| "quotes": [2, "single"], |
| "no-undef": [2], |
| "object-curly-spacing": [2, "never"], |
| "no-unused-vars": [2, {"vars": "all", "args": "after-used", "argsIgnorePattern": "^_"}], |
| "space-before-blocks": [2, {"keywords": "always", "functions":"always"}], |
| "brace-style": [2, "stroustrup", { "allowSingleLine": true }], |
| "no-param-reassign": [2, {"props": false}], |
| "max-len": [2, 120, 4], |
| "eqeqeq": [1, "smart"], |
| "new-cap": [2, {"capIsNewExceptions": ["Router"]}], |
| "func-names": 0, |
| "object-shorthand": [0, "never"], |
| "wrap-iife": [2, "any"], |
| "no-loop-func": 0, |
| "no-console": 0, |
| "padded-blocks": 0 |
| }, |
| "globals" :{ |
| "require": true |
| } |
| } |