Last active
June 26, 2021 12:55
-
-
Save gcnit/b9a43a261ff9fbff45f2963a35226582 to your computer and use it in GitHub Desktop.
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
# Install eslint and prettier by running this on terminal in your project folder | |
npm install --save-dev babel-eslint css-loader eslint eslint-config-airbnb-base eslint-config-airbnb eslint-config-prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks prettier style-loader | |
# Add .eslintrc.json to project folder. Make sure that the file that gets downloaded contains the '.' prefix. | |
https://raw.githubusercontent.com/workattech/ern-app/master/.eslintrc.json | |
# Add .prettierrc to project folder. Make sure that the file that gets downloaded contains the '.' prefix. | |
https://raw.githubusercontent.com/workattech/ern-app/master/.prettierrc | |
# Verify that both the files are in the project folder. Also verify if package.json and package-lock.json are updated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment