Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Feb 13, 2024
1 parent 5ab91f4 commit 8f7dd6a
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 90 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
pnpm-lock.yaml
types/auto-imports.d.ts
types/components.d.ts
2 changes: 1 addition & 1 deletion .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default defineConfig({
nav: [
{ text: '主页', link: '/zh-CN' },
{ text: '文档', link: '/zh-CN/get-started' },
{ text: '常见问题', link: '/zh-CN/faq' }
{ text: '常见问题', link: '/zh-CN/others/faq' }
],

sidebar: [
Expand Down
3 changes: 2 additions & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ export default {
],
'**/*.{ts,tsx,js,jsx}': ['eslint -c .eslintrc.cjs'],
'**/*.{ts,tsx,vue}': [() => 'tsc -p tsconfig.json --noEmit'],
'**/*.{scss,css,sass}': ['stylelint --config stylelint.config.js']
'**/*.{scss,css,sass}': ['stylelint --config stylelint.config.js'],
'**/*.{json,md}': ['prettier --write']
}
Loading

0 comments on commit 8f7dd6a

Please sign in to comment.