🔧 Reconcile config/doc contradictions and remove stale entries

This commit is contained in:
tmu committed 2026-09-03 22:08:01 +00:00
1 parent 99fd85ca7e
commit c6f7a5d1b0
7 files changed
+10 -32

No files matched your search

+3 -16
View File
@@ -1,16 +1,8 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
coverage
node_modules
dist
dist-ssr
coverage
*.log
*.tsbuildinfo
*.local
# Editor directories and files
@@ -20,8 +12,3 @@ dist-ssr
!.vscode/tasks.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
-1
View File
@@ -10,5 +10,4 @@ src/
.node-version
cspell.json
lefthook.yml
LICENSE
commit-message-template
+1 -1
View File
@@ -21,7 +21,7 @@ Pattern matching for TypeScript/ESM environments (F#-style, not regex).
### Requirements
- Node.js >= 22.6 (>= 24 recommended; `--experimental-strip-types` is unflagged on 24).
- Node.js >= 26 (engines field; pinned via `.node-version`).
## VSCode integration
+1 -8
View File
@@ -17,12 +17,5 @@
"dbaeumer",
"msvc"
],
"ignorePaths": [
"dist",
"node_modules",
"public",
"coverage",
"*.svg",
".gitignore"
]
"ignorePaths": ["dist", "node_modules", "coverage", "*.svg", ".gitignore"]
}
+3 -3
View File
@@ -5,11 +5,11 @@ pre-commit:
commands:
oxlint:
glob: "*.{ts,tsx,js,jsx,mjs,cjs}"
run: sh -c 'LEFTHOOK_FILES="$0" npm run check:oxlint' {staged_files}
run: sh -c 'LEFTHOOK_FILES="$*" npm run check:oxlint' sh {staged_files}
oxfmt:
glob: "*.{ts,tsx,js,jsx,mjs,cjs,json,jsonc,yaml,yml,md,mdx}"
run: sh -c 'LEFTHOOK_FILES="$0" npm run check:oxfmt' {staged_files}
run: sh -c 'LEFTHOOK_FILES="$*" npm run check:oxfmt' sh {staged_files}
cspell:
run: sh -c 'LEFTHOOK_FILES="$0" npm run check:cspell' {staged_files}
run: sh -c 'LEFTHOOK_FILES="$*" npm run check:cspell' sh {staged_files}
typecheck:
run: npm run check:tsc
+1 -1
View File
@@ -202,7 +202,7 @@ typescript-lib-starter-tiny => https://github.com/tmueller/typescript-lib-starte
alphabetized (replaces the former `sort-package-json` tool).
Built-in import sorting (enabled via `sortImports: true`) replaces
any external import-sort plugin.
- `check:tsc`: `tsc --noEmit`.
- `check:tsc`: `tsc` (noEmit is set in `tsconfig.json`).
- `check:cspell`: `cspell lint ${LEFTHOOK_FILES:-.}` — walks the
project root by default; from lefthook, only the staged files.
- `check:outdated`: `check-outdated --ignore-pre-releases --ignore-packages @oxfmt/binding-*,@oxlint/binding-*`. The oxc native bindings are declared as `optionalDependencies` so the correct one is selected per platform automatically; the `*`-platform bindings show as "not installed" on the current platform and are explicitly ignored here.
+1 -2
View File
@@ -3,8 +3,7 @@
"compilerOptions": {
"noEmit": false,
"rewriteRelativeImportExtensions": true,
"rootDir": "src",
"outDir": "dist"
"rootDir": "src"
},
"exclude": ["src/**/*.test.ts", "src/**/__tests__/**"]
}