Created
July 2, 2018 16:36
-
-
Save joshuacrass/61842bb44a53bc1620a62016675073fb to your computer and use it in GitHub Desktop.
starter eslint config for react project extending airbnb
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
{ | |
"parser": "babel-eslint", | |
"extends": ["airbnb"], | |
"parserOptions": { | |
"ecmaVersion": 7, | |
"ecmaFeatures": { | |
"jsx": true, | |
"modules": true | |
}, | |
"sourceType": "module" | |
}, | |
"env": { | |
"browser": true, | |
"node": true, | |
"es6": true, | |
"jest": true | |
}, | |
"plugins": ["react"], | |
"rules": { | |
"quotes": ["error", "single"], | |
"max-len": ["error", 80], | |
}, | |
"settings": { | |
"import/resolver": { | |
"node": { | |
"paths": ["src"] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment