eslint-config-herman

1.0.2 • Public • Published

Herman's Eslint Config

These are a set of ESLint rules that work for open-source projects for c0d3.com

Installation

I recommend installing eslint in each project repository.

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

  2. Then install everything with

npx install-peerdeeps --dev eslint-config-herman 
  1. Your package.json should be updated with a large number of development dependencies.

  2. Create a .eslintrc.js file in the root directory with the following:

module.exports = {
  extends: ['herman']
}
  1. Add the following scripts to your package.json to lint and or fix.
"scripts": {
  "lint": "eslint .",
  "autofix": "eslint . --fix"
}
  1. Enjoy!

Package Sidebar

Install

npm i eslint-config-herman

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

3.35 kB

Total Files

5

Last publish

Collaborators

  • hwong0305