Skip to content

Commit

Permalink
fix: downgrade back to 2.21.0 since unused-imports/no-unused-vars is …
Browse files Browse the repository at this point in the history
…not working with _ ignore

Signed-off-by: Neko Ayaka <[email protected]>
  • Loading branch information
nekomeowww committed Jul 31, 2024
1 parent ad1abdc commit d04d5fa
Show file tree
Hide file tree
Showing 5 changed files with 134 additions and 239 deletions.
4 changes: 3 additions & 1 deletion cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ words:
- uncrypto
- unlazy
- unocss
- unplugin
- Vite
- vitepress
- vueuse
ignoreWords: []
import: ["@cspell/dict-ru_ru/cspell-ext.json"]
import:
- "@cspell/dict-ru_ru/cspell-ext.json"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"test:run": "vitest run"
},
"devDependencies": {
"@antfu/eslint-config": "^2.24.0",
"@antfu/eslint-config": "2.21.0",
"@antfu/ni": "^0.21.12",
"@cspell/dict-ru_ru": "^2.2.1",
"@types/node": "^20.14.13",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ export async function renderSVG(
additionalFontBuffers?: Uint8Array[],
resultImageWidth?: number,
): Promise<{
png: Uint8Array
width: number
height: number
}> {
png: Uint8Array
width: number
height: number
}> {
try {
const resvg = new Resvg(
svgContent,
Expand Down
Loading

0 comments on commit d04d5fa

Please sign in to comment.