🔧 Reconcile config/doc contradictions and remove stale entries
This commit is contained in:
1 parent
99fd85ca7e
commit
c6f7a5d1b0
7 files changed
+11
-33
No files matched your search
+4
-17
@@ -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
|
||||
@@ -19,9 +11,4 @@ dist-ssr
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
.idea
|
||||
.DS_Store
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
.DS_Store
|
||||
@@ -10,5 +10,4 @@ src/
|
||||
.node-version
|
||||
cspell.json
|
||||
lefthook.yml
|
||||
LICENSE
|
||||
commit-message-template
|
||||
@@ -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
@@ -17,12 +17,5 @@
|
||||
"dbaeumer",
|
||||
"msvc"
|
||||
],
|
||||
"ignorePaths": [
|
||||
"dist",
|
||||
"node_modules",
|
||||
"public",
|
||||
"coverage",
|
||||
"*.svg",
|
||||
".gitignore"
|
||||
]
|
||||
"ignorePaths": ["dist", "node_modules", "coverage", "*.svg", ".gitignore"]
|
||||
}
|
||||
+3
-3
@@ -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
@@ -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
@@ -3,8 +3,7 @@
|
||||
"compilerOptions": {
|
||||
"noEmit": false,
|
||||
"rewriteRelativeImportExtensions": true,
|
||||
"rootDir": "src",
|
||||
"outDir": "dist"
|
||||
"rootDir": "src"
|
||||
},
|
||||
"exclude": ["src/**/*.test.ts", "src/**/__tests__/**"]
|
||||
}
|
||||
Reference in new issue
Block a user