Skip to content

Commit

Permalink
fix: add .eslintignore to resect .vitepress folder
Browse files Browse the repository at this point in the history
  • Loading branch information
tada5hi committed Nov 29, 2024
1 parent ab76785 commit 2a3de9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!src/.vitepress
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dev": "vitepress dev src --temp .temp",
"build": "vitepress build src --temp .temp",
"help": "vitepress --help",
"lint": "eslint --ext .ts,.mjs,.vue ./src/.vitepress",
"lint": "eslint --ext .ts,.mjs,.vue .",
"lint:fix": "npm run lint -- --fix",
"prepare": "husky"
},
Expand Down Expand Up @@ -53,6 +53,6 @@
"vitepress": "^1.5.0"
},
"lint-staged": {
"*.{mjs,ts,.vue}": "eslint --fix --ext .ts,.mjs,.vue"
"*.{mjs,ts,vue}": "eslint --fix"
}
}

0 comments on commit 2a3de9c

Please sign in to comment.