Skip to content

Commit 19f1d94

Browse files
committed
refactor: 更新构建流程
1 parent fc07f59 commit 19f1d94

22 files changed

+2635
-5704
lines changed

.editorconfig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
root = true
22

33
[*]
4-
charset = utf-8
5-
indent_style = space
64
indent_size = 2
75
end_of_line = lf
86
insert_final_newline = true
9-
trim_trailing_whitespace = true
10-
11-
[*.md]
12-
insert_final_newline = false
13-
trim_trailing_whitespace = false

.eslintignore

Lines changed: 0 additions & 14 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 41 deletions
This file was deleted.

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/workflows/ci.yml renamed to .github/workflows/doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 发布到github pages
1+
name: 发布文档到github pages
22
on:
33
push:
44
branches:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ dist-ssr
88
types
99
coverage
1010
docs/.vitepress/cache
11+
lib

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ dist
77
pnpm-lock.yaml
88
coverage
99
.github
10+
.DS_Store

.prettierrc.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

eslint.config.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import { defineConfig } from '@configurajs/eslint'
2+
3+
export default defineConfig({
4+
ignores: [],
5+
rules: {
6+
curly: 'off',
7+
eqeqeq: 'warn',
8+
'vue/multi-word-component-names': 'off',
9+
'vue/no-deprecated-v-on-native-modifier': 'off',
10+
'vue/no-mutating-props': 'off',
11+
'no-unused-vars': 'off',
12+
'no-loss-of-precision': 'off',
13+
'no-undef': 'off',
14+
'no-empty': 'off',
15+
'no-func-assign': 'off',
16+
'no-prototype-builtins': 'off',
17+
'no-cond-assign': 'off',
18+
'no-debugger': 'off',
19+
'eslint-comments/no-unlimited-disable': 'off',
20+
'@typescript-eslint/ban-ts-comment': 'off',
21+
'@typescript-eslint/no-unused-vars': 'warn',
22+
'@typescript-eslint/explicit-module-boundary-types': 'off',
23+
'@typescript-eslint/no-empty-function': 'warn',
24+
'@typescript-eslint/no-explicit-any': 'off',
25+
'@typescript-eslint/no-floating-promises': 'off',
26+
},
27+
})
File renamed without changes.

0 commit comments

Comments
 (0)