1.1.0 • Published 3 years ago
eslint-personal-config v1.1.0
ESLint (and Prettier) config
These are settings for ESLint and Prettier used by me.
What it does
This setup lints your JavaScript code based on practices.
Installing
- In your project folder, run:
npm i -D eslint-config-dbrunetto # or yarn install --dev eslint-config-dbrunetto
npx install-peerdeps --dev eslint-config-dbrunetto- You will see several dependencies were installed. Now, create (or update) a
.eslintrcfile with the following content:
{
'extends': [
'dbrunetto'
]
}- Copy the
.prettierrcfile from this repository into your project folder