1.0.8 • Published 1 year ago

lintingg v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

ESLint (and Prettier) config

npm version NPM downloads GitHub issues Code Style Prettier MIT License Twitter Follow

These are settings for ESLint and Prettier used by me and Thinkific.

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

This repository is inspired by eslint-config-wesbos.

1.0.8

1 year ago