mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2026-10-28 09:44:55 +00:00
fix lint
ts-lint not support ts 7.0
This commit is contained in:
2 files changed
+6
-6
No files matched your search
Vendored
+4
-4
@@ -12,7 +12,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
check:
|
||||
- eslint
|
||||
# - eslint
|
||||
- prettier
|
||||
- typescript
|
||||
- vitest
|
||||
@@ -33,9 +33,9 @@ jobs:
|
||||
|
||||
- run: bun install
|
||||
|
||||
- name: Lint
|
||||
if: matrix.check == 'eslint'
|
||||
run: bun lint
|
||||
# - name: Lint
|
||||
# if: matrix.check == 'eslint'
|
||||
# run: bun lint
|
||||
|
||||
- name: Format check
|
||||
if: matrix.check == 'prettier'
|
||||
|
||||
+2
-2
@@ -24,10 +24,10 @@
|
||||
"check": "tsc -b",
|
||||
"bundle": "bun check && bunx --bun vite build",
|
||||
"dev": "bun bundle && bun sync:theme",
|
||||
"commit": "bun fmt && bun lint && bun bundle && bun vitest",
|
||||
"commit": "bun fmt && bun bundle && bun vitest",
|
||||
"version": "bun scripts/version.ts",
|
||||
"release": "bun bundle && bun update:locale",
|
||||
"bundle:ci": "bun lint && bun bundle && bun vitest",
|
||||
"bundle:ci": "bun bundle && bun vitest",
|
||||
"sync:theme": "bun scripts/syncTheme.ts",
|
||||
"update:primer": "bun scripts/buildPrimerTSToken.ts",
|
||||
"update:locale": "bun scripts/translate.ts",
|
||||
|
||||
Reference in new issue
Block a user