1.9 KiB
1.9 KiB
WRNexusJS v0.6.0 R6 lint corrections
This revision fixes the lint failures reported by bun run check after R5.
Corrected files
editors/vscode/test/formatter.test.js- Replaced hard-to-count literal regex spaces with quantified spaces.
examples/component-showcase/scripts/generate-showcase.mjs- Removed unused
uiComponentsPathandjsonAttributedeclarations.
- Removed unused
examples/component-showcase/scripts/showcase-profiles.mjs- Removed the unused
actionSlotdeclaration.
- Removed the unused
packages/cli/src/update.ts- Removed an unnecessary regex escape.
packages/compiler/src/client-codegen.ts- Rewrote store-path regexes without unnecessary character-class escapes.
packages/compiler/src/codegen.ts- Rewrote the store-path regex without unnecessary character-class escapes.
packages/syntax/src/diagnostics.ts- Corrected dynamic
RegExpstring escaping for word boundaries, property separators, and whitespace.
- Corrected dynamic
packages/syntax/src/parser.ts- Removed an unused
FunctionRuntimetype import.
- Removed an unused
patch-overlay-showcase.mjs- Added explicit Node imports for
processandconsole.
- Added explicit Node imports for
scripts/generate-ui-component-reference.mjs- Removed an unnecessary closing-parenthesis escape in a regex character class.
scripts/validate-0.6.mjs- Added explicit Node imports for
console,process, andfileURLToPath. - Replaced URL pathname manipulation with
fileURLToPath, improving Windows path handling.
- Added explicit Node imports for
Validation performed in the packaging environment
node scripts/validate-0.6.mjs: 14 passes, zero failures; Bun unavailable warning only.- VS Code extension Node tests: 28 passes, zero failures.
- VS Code extension validation: all checks passed.
- All JavaScript and MJS syntax checks passed.
- Exact regression guards for all 31 reported lint findings passed.
Run the complete release gate locally with Bun:
bun install
bun run check