Skip to content

Commit d3192e3

Browse files
authored
chore: add script lint:fix (#1413)
1 parent eb701a4 commit d3192e3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CONTRIBUTING.md

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ To contribute changes, follow these instructions in the order given below:
5555

5656
```bash
5757
npm run format:all
58+
npm run lint:fix
5859
```
5960

6061
1. If you have only modified Markdown documents (`*.md`), then you can alternatively execute the following to format only those documents:

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"format:all": "prettier --write .",
1919
"format:all:check": "prettier --check .",
2020
"lint": "eslint",
21+
"lint:fix": "eslint --fix",
2122
"check:markdown-links": "find *.md docs/*.md -print0 | xargs -0 -n1 markdown-link-check",
2223
"update:cypress": "./scripts/update-cypress-latest.sh",
2324
"prepare": "husky"

0 commit comments

Comments
 (0)