This is a simple repo containing some eslint configs that I use in my projects.
Install the package:
npm install --save-dev @gui-marc/eslint-config-backend
And install the peer dependencies:
npx install-peerdeps --dev @gui-marc/eslint-config-backend
Then add the config to your eslint config file:
{
"extends": "@gui-marc/eslint-config-backend",
"parserOptions": {
"project": "./tsconfig.json" // the path to your tsconfig.json file
}
}
Then add this config to your .prettierrc
file:
{
"trailingComma": "none",
"semi": true,
"singleQuote": true
}