Run the following command to install and install peerDependencies as devDependencies for the current project
npx install-peerdeps --dev @cbryant24/eslint-config
Create a .eslintrc
file in the root of your project's directory (it should live where package.json does). Your .eslintrc
file should look like this:
{
"extends": [
"@cbryant24/eslint-config"
]
}
Run the following command to create a prettier config file
touch .prettierrc.json
Add the follow configuration to the .prettierrc.json
file
{
"tabWidth": 2,
"semi": true,
"singleQuote": true
}