Skip to content

Add strict diagnostic preset - #754

Merged
mattiamanzati merged 1 commit into
mainfrom
t3code/add-strict-diagnostic-preset
Sep 17, 2026
Merged

mattiamanzati merged 1 commit into
mainfrom
t3code/add-strict-diagnostic-preset

Conversation

@mattiamanzati

Copy link
Copy Markdown
Contributor

Summary

  • add a strict diagnostic preset that promotes every default-enabled diagnostic to an error
  • make metadata the canonical catalog for recommended, strict, and all four category presets
  • generate Oxlint presets directly from that catalog and expose the same choices through TypeScript setup
  • define recommended as exactly the default-enabled diagnostics, leaving effect-native independently composable

Usage

For Oxlint:

{
  "extends": ["./node_modules/@effect/tsgo/oxlint-presets/strict.json"]
}

For TypeScript setup, select strict interactively or pass --preset strict.

Validation

  • pnpm setup-repo
  • pnpm lint
  • pnpm check
  • pnpm test
  • package build and preset export assertions
  • git diff --check

@mattiamanzati
mattiamanzati merged commit 7173762 into main Sep 17, 2026
8 checks passed
@mattiamanzati
mattiamanzati deleted the t3code/add-strict-diagnostic-preset branch September 17, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant