diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..212566614 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto \ No newline at end of file diff --git a/.husky/commit-msg b/.husky/commit-msg index 5426a9320..0283279c0 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npx commitlint --edit $1 +node_modules/.bin/commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index 9a8404ed7..b236fafe6 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npx lint-staged --allow-empty $1 +node_modules/.bin/lint-staged --allow-empty $1 diff --git a/.vscode/settings.json b/.vscode/settings.json index 53fe57aa5..0a892456a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -41,5 +41,6 @@ "src/uni_modules/wot-design-uni/locale", "src/uni_modules/wot-design-uni/locale/lang" ], - "common-intellisense.ui": [] + "common-intellisense.ui": [], + "files.eol": "\n" } \ No newline at end of file diff --git a/docs/.vitepress/theme/components/frame.vue b/docs/.vitepress/theme/components/frame.vue index d30b53ce7..dbfceb2c6 100644 --- a/docs/.vitepress/theme/components/frame.vue +++ b/docs/.vitepress/theme/components/frame.vue @@ -5,8 +5,7 @@