eslint-config-herman
v1.0.2
Published
A ESLint Configuration for c0d3.com
Downloads
1
Maintainers
Readme
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.
If you don't already have a
package.json
file, create one withnpm init
.Then install everything with
npx install-peerdeeps --dev eslint-config-herman
Your package.json should be updated with a large number of development dependencies.
Create a
.eslintrc.js
file in the root directory with the following:
module.exports = {
extends: ['herman']
}
- Add the following scripts to your package.json to lint and or fix.
"scripts": {
"lint": "eslint .",
"autofix": "eslint . --fix"
}
- Enjoy!