Airbnb linting style is the best approach for coding standards for your project
To begin with start with a terminal with the following
mkdir my-app cd my-app npx create-react-appAdd Airbnb linting config on to node modules
npm install --save-dev eslint eslint-config-airbnbAdd
.eslintrc
to enable Airbnb linting
This is a basic configuration to get started. Add additional rules to configure as per your taste
Add eslint plugin and Allow eslint on your vscode config.
Enjoy!
No comments:
Post a Comment