1.0.2 • Published 3 years ago

eslint-config-dfuzr v1.0.2

Weekly downloads
39
License
ISC
Repository
github
Last release
3 years ago

ESLint (and Prettier) config

These are settings for ESLint and Prettier used by DFUZR.

What it does

This setup lints your JavaScript code based on practices. Check the .eslintrc.js file to see what is included. Feel free to override the rules that make sense for you.

Installing

  1. In your project folder, run:
npm i -D eslint-config-dfuzr # or yarn install --dev eslint-config-dfuzr
npx install-peerdeps --dev eslint-config-dfuzr
  1. You will see several dependencies were installed. Now, create (or update) a .eslintrc file with the following content:
{
  'extends': [
    'dfuzr'
  ]
}
  1. Copy the .prettierrc file from this repository into your project folder

This repository is inspired by eslint-config-wesbos.