Created
November 12, 2015 23:44
-
-
Save eloypnd/1a072a8cbeade3621b8a to your computer and use it in GitHub Desktop.
eslint base configuration file
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 } | |
], | |
"quotes": [ | |
2, | |
"single" | |
], | |
"linebreak-style": [ | |
2, | |
"unix" | |
], | |
"semi": [ | |
2, | |
"always" | |
] | |
}, | |
"env": { | |
"es6": true, | |
"browser": true | |
}, | |
"extends": "eslint:recommended", | |
"ecmaFeatures": { | |
"jsx": true, | |
"experimentalObjectRestSpread": true, | |
"modules": true | |
}, | |
"plugins": [ | |
"react" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reference