Created
October 24, 2018 12:12
-
-
Save dougajmcdonald/32e198b4db2e4dbaf244b83811b7104f to your computer and use it in GitHub Desktop.
VS Code EsLint config
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 | |
}, | |
"extends": ["plugin:react/recommended"], | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true | |
}, | |
"ecmaVersion": 2018, | |
"sourceType": "module" | |
}, | |
"plugins": ["react"], | |
"rules": { | |
"indent": ["error", 2], | |
"linebreak-style": ["error", "windows"], | |
"quotes": ["error", "single"], | |
"semi": ["error", "never"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment