Created
July 7, 2017 14:00
-
-
Save johnpapa/b1f631e94efa7b9989b5987c638eecff to your computer and use it in GitHub Desktop.
.eslintrc.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"env": { | |
"browser": true, | |
"commonjs": true, | |
"es6": true, | |
"node": true | |
}, | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true | |
}, | |
"sourceType": "module" | |
}, | |
"rules": { | |
"arrow-body-style": ["warn", "as-needed"], | |
"arrow-parens": ["warn", "as-needed"], | |
"arrow-spacing": ["warn", { "before": true, "after": true }], | |
"prefer-arrow-callback": [ | |
"warn", | |
{ | |
"allowNamedFunctions": true | |
} | |
], | |
"quotes": ["error", "single"], | |
"no-var": "warn", | |
"prefer-const": "warn", | |
"no-const-assign": "warn", | |
"no-this-before-super": "warn", | |
"no-undef": "warn", | |
"no-unreachable": "warn", | |
"no-unused-vars": "warn", | |
"constructor-super": "warn", | |
"valid-typeof": "warn" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment