1.1.0 • Published 2 years ago

eslint-personal-config v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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

  1. 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
  1. You will see several dependencies were installed. Now, create (or update) a .eslintrc file with the following content:
{
  'extends': [
    'dbrunetto'
  ]
}
  1. Copy the .prettierrc file from this repository into your project folder