1.0.1 • Published 3 years ago

eslint-config-jimmontour v1.0.1

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

Eslint and Prettier Config

These are my settings for ESLint and Prettier. Feel free to fork for your setup and tweak to your liking.

  • Lints JavaScript based on the latest standards
  • Fixes issues and formatting errors with Prettier
  • Lints + Fixes inside of html script tags
  • Lints + Fixes React via eslint-config-airbnb

Install

  1. If you don't already have a package.json file, create one with npm init.

  2. Install everything needed:

npx install-peerdeps --dev eslint-config-jimmontour
  1. Create a .eslintrc file in the root of your project's directory (it should live where package.json does). Your .eslintrc file should look like this:
{
  "extends": [
    "jimmontour"
  ]
}