Skip to content

Commit 7cd8600

Browse files
committed
Run eslint before prettier
1 parent ba10c7d commit 7cd8600

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@
5454
"test:update": "ava --update-snapshots",
5555
"test:watch": "ava --watch",
5656
"test:debug": "ava debug --break",
57-
"lint": "eslint --ignore-path .gitignore .",
58-
"prelint": "prettier --check --ignore-path .gitignore .",
57+
"lint": "eslint .",
58+
"postlint": "prettier --check --ignore-path .gitignore .",
5959
"postversion": "git push --follow-tags",
6060
"example": "tsx examples",
6161
"example:inspect": "tsx --inspect examples",
6262
"format": "prettier --write --ignore-path .gitignore .",
63-
"postformat": "eslint --ignore-path .gitignore --fix .",
63+
"preformat": "eslint --fix .",
6464
"report": "c8 report"
6565
},
6666
"engines": {

0 commit comments

Comments
 (0)