1.4.0 • Published 1 month ago
eslint-config-astrohelm v1.4.0
Javascript style guide for Astrohelm projects. Follow next steps to make it work for you:
Usage
1. Install required packages:
npm i -D npm i -D eslint eslint-plugin-import eslint-config-astrohelm
2. Add "extends": ["astrohelm"]
to your .eslintrc
.
3. (optional) Add following scripts
// package.json
{
"scripts": {
"lint": "eslint . && prettier --check \"**/*.js\" \"**/*.json\" \"**/*.md\" \".*rc\" \"**/*.yml\"",
"fmt": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \".*rc\" \"**/*.yml\""
//...
}
//...
}