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