1.2.2 • Published 4 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
.eslintrcfile in your root directory and insert the following:
{
"extends": ["@jlgoh/eslint-config-with-prettier"]
}- Create a
.prettierrcfile 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