Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Detail lint scripts #5

Open
tvharris opened this issue Nov 16, 2021 · 0 comments
Open

Detail lint scripts #5

tvharris opened this issue Nov 16, 2021 · 0 comments

Comments

@tvharris
Copy link

This may be beyond the scope of this repo, but the readme could instruct the user how to set up a lint script. For example, Rooster has these lines in package.json:

"precommit": [
    "lint"
  ],
  "scripts": {
    "lint": "eslint .",

It also may be worth autofixing whatever can be autofixed:
"lint:fix": "npm run lint -- --fix"

@tvharris tvharris changed the title Detailing lint scripts Detail lint scripts Nov 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant