-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from project-trans/dev/remove-vuepress-bump-de…
…ps-lint-all refactor: remove vuepress, bump deps, lint all files
- Loading branch information
Showing
25 changed files
with
3,383 additions
and
5,558 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,33 @@ | ||
{ | ||
"cSpell.words": [ | ||
"iconify", | ||
"katex", | ||
"pangu", | ||
"vuepress" | ||
] | ||
"cSpell.words": [ | ||
"antfu", | ||
"attributify", | ||
"iconify", | ||
"katex", | ||
"pangu", | ||
"vuepress" | ||
], | ||
"editor.formatOnSave": false, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "explicit", | ||
"source.organizeImports": "never" | ||
}, | ||
// Enable the ESlint flat config support | ||
"eslint.experimental.useFlatConfig": true, | ||
// The following is optional. | ||
// It's better to put under project setting `.vscode/settings.json` | ||
// to avoid conflicts with working with different eslint configs | ||
// that does not support all formats. | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"typescript", | ||
"typescriptreact", | ||
"vue", | ||
"html", | ||
"markdown", | ||
"json", | ||
"jsonc", | ||
"yaml" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
declare module 'markdown-it-pangu' { | ||
import { PluginSimple } from 'markdown-it' | ||
import type { PluginSimple } from 'markdown-it' | ||
|
||
const pangu: PluginSimple | ||
export default pangu | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import { type DefaultTheme } from 'vitepress' | ||
import type { DefaultTheme } from 'vitepress' | ||
|
||
const nav = [ | ||
{ | ||
text: "简体中文翻译", | ||
link: "/soc8cn/", | ||
text: '简体中文翻译', | ||
link: '/soc8cn/', | ||
}, | ||
] satisfies DefaultTheme.Config['nav']; | ||
export default nav; | ||
] satisfies DefaultTheme.Config['nav'] | ||
export default nav |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
<template> | ||
<div | ||
class=" | ||
suggestion-statement | ||
border border-solid border-gray-800 dark:border-gray-400 | ||
my-14 | ||
pt-4 px-4 | ||
selector-[.suggestion-statement>h2]:(mt-0 pt-0 border-none) | ||
selector-[.suggestion-statement_.header-anchor]:(top-0! left-5px!) | ||
" | ||
> | ||
<slot /> | ||
</div> | ||
<div | ||
class="suggestion-statement selector-[.suggestion-statement>h2]:(mt-0 border-none pt-0) selector-[.suggestion-statement_.header-anchor]:(left-5px! top-0!)" | ||
my-14 px-4 pt-4 | ||
border="gray-800 solid dark:gray-400" | ||
> | ||
<slot /> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.