Created
December 9, 2015 08:38
-
-
Save Spaider/3dc7ac034b7e3ca5e8e0 to your computer and use it in GitHub Desktop.
ESLint configuration for Athlinks project
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, 2, {"SwitchCase" : 1, "VariableDeclarator" : 2}], | |
"quotes": [2, "single"], | |
"linebreak-style": [0, "unix"], | |
"semi": [2, "always"], | |
"camelcase": 2, | |
"no-underscore-dangle": 2, | |
"no-console": 1, // Allow console for debug purposes. Must be configured as error for production | |
"semi-spacing": 2, | |
"comma-spacing": 2, | |
"space-after-keywords": 2, | |
"space-infix-ops": 2, | |
"space-return-throw-case": 2, | |
"space-before-function-paren": 2, | |
"no-extra-semi": 2, | |
"valid-jsdoc": 0 // Yet | |
}, | |
"env": { | |
"node": true, | |
"browser": true | |
}, | |
"extends": "eslint:recommended", | |
"ecmaFeatures": { | |
"jsx": true, | |
"experimentalObjectRestSpread": true, | |
"destructuring": true | |
}, | |
"plugins": [ | |
"react" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment