Skip to content

Commit

Permalink
test lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
shanquan954 committed Dec 31, 2023
1 parent 101fef7 commit b9471de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"*.js": ["prettier --write", "eslint"],
"*.{js,ts,json,html}": "prettier --write"
"*.js": ["prettier . --write", "eslint"],
"*.{js,ts,json,html}": "prettier . --write"
}
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
function main() {
console.log("test");
console.log("test");
}
main();

0 comments on commit b9471de

Please sign in to comment.