Last active
March 3, 2019 10:31
-
-
Save joshuacrass/c3602cdf35c4902f09461b29d683fca6 to your computer and use it in GitHub Desktop.
Example eslintrc with prettier
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
{ | |
"extends": ["airbnb", "prettier", "prettier/react"], | |
"plugins": ["react", "prettier"], | |
"rules": { | |
"react/jsx-filename-extension": [ | |
1, | |
{ | |
"extensions": [".js", "jsx"] | |
} | |
], | |
"prettier/prettier": "error", | |
"max-len": ["error", 80] | |
}, | |
"env": { | |
"browser": true | |
}, | |
"settings": { | |
"import/resolver": { | |
"webpack": { | |
"config": "./config/webpack-common-config.js" | |
} | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment