1.2.2 • Published 3 years ago
@jlgoh/eslint-config-with-prettier v1.2.2
Installation
- Install the configs by running:
npx install-peerdeps --dev @jlgoh/eslint-config-with-prettier
- Create a
.eslintrc
file in your root directory and insert the following:
{
"extends": ["@jlgoh/eslint-config-with-prettier"]
}
- Create a
.prettierrc
file in your root directory and insert the following:
"@jlgoh/eslint-config-with-prettier/.prettierrc"
Integrating with VSCode Editor
- Install the ESLint extension
- Install the Prettier extension (Turn on Format On Save for easy development)
- Reload VSCode if ESLint and Prettier do not work for the first time