Last active
September 7, 2017 09:52
-
-
Save emj365/c0d50e92bf87d5695c4d469f7d456b05 to your computer and use it in GitHub Desktop.
install eslint for reactjs by yarn
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
yarn add --dev eslint eslint-config-standard eslint-config-standard-react eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-react eslint-plugin-standard | |
touch .eslintrc | |
cat > .eslintrc <<EOL | |
{ | |
"extends": ["standard", "standard-react"] | |
} | |
EOL | |
touch .eslintignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment