Created
September 26, 2015 12:55
-
-
Save Rich-Harris/83e1376a343d0b0cbf74 to your computer and use it in GitHub Desktop.
My eslintrc
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
{ | |
"rules": { | |
"indent": [ 2, "tab", { "SwitchCase": 1 }], | |
"quotes": [ 2, "single" ], | |
"linebreak-style": [ 2, "unix" ], | |
"semi": [ 2, "always" ], | |
"no-mixed-spaces-and-tabs": [ 2, "smart-tabs" ], | |
"object-shorthand": [2, "always" ], | |
"no-const-assign": 2, | |
"no-class-assign": 2, | |
"no-this-before-super": 2, | |
"no-var": 2, | |
"quote-props": [ 2, "as-needed" ], | |
"one-var": [ 2, "never" ], | |
"prefer-arrow-callback": 2, | |
"arrow-spacing": 2, | |
"no-cond-assign": 0 | |
}, | |
"env": { | |
"es6": true, | |
"browser": true | |
}, | |
"extends": "eslint:recommended", | |
"ecmaFeatures": { | |
"modules": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment