File tree Expand file tree Collapse file tree 5 files changed +19
-30
lines changed Expand file tree Collapse file tree 5 files changed +19
-30
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 28
28
uses : ./.github/workflows/lint-markdown.yml
29
29
lint_packages :
30
30
uses : ./.github/workflows/lint-packages.yml
31
- lint_prettier :
32
- uses : ./.github/workflows/lint-prettier.yml
33
31
lint_spelling :
34
32
uses : ./.github/workflows/lint-spelling.yml
35
33
test :
46
44
- lint_markdown
47
45
- lint_spelling
48
46
- lint_packages
49
- - lint_prettier
50
47
- test
51
48
- type_check
52
49
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1
1
" *.{json,yml} " :
2
- - prettier --ignore-unknown --write
2
+ - eslint --fix
3
3
- cspell lint --no-progress --show-suggestions --show-context --no-must-find-files --dot
4
4
5
5
" *.ts " :
6
- - prettier --ignore-unknown --write
7
6
- eslint --fix
8
7
- cspell lint --no-progress --show-suggestions --show-context --no-must-find-files --dot
9
8
- tsc-files -p tsconfig.build.json --noEmit
10
9
11
10
" *.md " :
12
- - prettier --ignore-unknown --write
11
+ - eslint --fix
13
12
- markdownlint --config=.markdownlint.json --ignore-path=.markdownlintignore
14
13
- cspell lint --no-progress --show-suggestions --show-context --no-must-find-files --dot
15
14
Original file line number Diff line number Diff line change 1
1
{
2
2
"editor.codeActionsOnSave" : {
3
- "source.fixAll" : " explicit" ,
4
- "source.fixAll.eslint" : " explicit" ,
5
- "source.formatDocument" : " explicit" ,
6
- "source.organizeImports" : " explicit" ,
7
- "source.sortImports" : " explicit"
3
+ "source.fixAll.eslint" : " explicit"
8
4
},
9
5
"editor.defaultFormatter" : " esbenp.prettier-vscode" ,
10
6
"editor.formatOnSave" : true ,
11
7
"editor.formatOnSaveMode" : " file" ,
12
8
"editor.rulers" : [80 ],
9
+ "eslint.probe" : [
10
+ " html" ,
11
+ " javascript" ,
12
+ " javascriptreact" ,
13
+ " json" ,
14
+ " jsonc" ,
15
+ " markdown" ,
16
+ " toml" ,
17
+ " typescript" ,
18
+ " typescriptreact" ,
19
+ " vue" ,
20
+ " yaml"
21
+ ],
13
22
"files.associations" : {
14
23
".markdownlint.json" : " jsonc" ,
15
24
".markdownlintignore" : " ignore"
29
38
},
30
39
"typescript.tsdk" : " ./node_modules/typescript/lib" ,
31
40
"[markdown]" : {
32
- "editor.rulers" : [160 ]
41
+ "editor.rulers" : [120 ]
33
42
}
34
43
}
Original file line number Diff line number Diff line change 54
54
"build:docs" : " eslint-doc-generator" ,
55
55
"build:node" : " rimraf lib && rollup -c rollup.config.ts --configPlugin rollup-plugin-ts" ,
56
56
"cz" : " git-cz" ,
57
- "lint" : " pnpm run build:node && pnpm run lint:js && pnpm run lint:md && pnpm lint:eslint-docs && pnpm run lint:prettier && pnpm run lint: knip && pnpm run lint:spelling && pnpm run lint:packages" ,
58
- "lint-fix" : " pnpm run build:node && pnpm run lint:js-fix && pnpm lint:eslint-docs-fix && pnpm run lint:prettier-fix && pnpm run lint: packages-fix" ,
57
+ "lint" : " pnpm run build:node && pnpm run lint:js && pnpm run lint:md && pnpm lint:eslint-docs && pnpm run lint:knip && pnpm run lint:spelling && pnpm run lint:packages" ,
58
+ "lint-fix" : " pnpm run build:node && pnpm run lint:js-fix && pnpm lint:eslint-docs-fix && pnpm run lint:packages-fix" ,
59
59
"lint:eslint-docs" : " eslint-doc-generator --check" ,
60
60
"lint:eslint-docs-fix" : " pnpm build:docs" ,
61
61
"lint:js" : " eslint ." ,
66
66
"lint:md" : " markdownlint \" **/*.md\" --config=.markdownlint.json --ignore-path=.markdownlintignore" ,
67
67
"lint:packages" : " pnpm dedupe --check" ,
68
68
"lint:packages-fix" : " pnpm dedupe" ,
69
- "lint:prettier" : " prettier \" **/*\" --ignore-unknown --list-different" ,
70
- "lint:prettier-fix" : " prettier \" **/*\" --ignore-unknown --write" ,
71
69
"lint:spelling" : " cspell \" **\" \" .github/**/*\" " ,
72
70
"prepare" : " husky" ,
73
71
"release" : " semantic-release" ,
You can’t perform that action at this time.
0 commit comments