Forked from rakannimer/add-react-jest-airbnb-linting.sh
Last active
February 1, 2018 02:38
-
-
Save seungha-kim/2fdf7bc979fb516feedb474693c51d23 to your computer and use it in GitHub Desktop.
Adding react-airbnb styleguide linting to create-react-app
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", | |
"env": { | |
"browser": true, | |
"node": true, | |
"jest": true | |
}, | |
"extends": "airbnb", | |
"rules": { | |
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], | |
"import/prefer-default-export": "off", | |
"no-bitwise": "off", | |
"react/prop-types": "off", | |
"react/prefer-stateless-function": "off", | |
"linebreak-style": "off", | |
"import/no-extraneous-dependencies": "off" | |
} | |
} |
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
npx install-peerdeps --dev eslint-config-airbnb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment