1.0.0 • Published 4 years ago

eslint-config-housecall v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

ESLint (and Prettier) config

These are settings for ESLint and Prettier used by Housecall Pro and Codefied Inc.

What it does

This setup lints your JavaScript code based on best 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:
yarn install --dev eslint-config-housecall
npx install-peerdeps --dev eslint-config-housecall
  1. You will see several dependencies were installed. Now, create (or update) a .eslintrc file with the following content:
{
  'extends': [
    'housecall'
  ]
}
  1. (OPTIONAL) Copy the .prettierrc file from this repository into your project folder

This repository is inspired by eslint-config-wesbos.