ultracite@7.12.4
Patch Changes
- 1cdaf87: Add opt-in
ultracite/oxlint/gdpandultracite/eslint/gdppresets for gdp-ts, which makes authorization checks visible to the type checker. Following upstream’s strict mode, they stop proofs being forged with type assertions ({} as UserIsProjectAdmin<U, P>) or minted outsideproofs/, ban other type assertions outsideproofs/andlib/ids.ts(exceptas const), and keep provers private to their trusted module. Upstream’sno-anyis left off because core already bansany. Insideproofs/, empty proof interfaces (interface X<P> extends Proof<"X", [P]> {}) are allowed, and the ESLint preset ignores_-prefixed proof arguments inno-unused-vars, as Oxlint does by default.@gdp-ts/coreships the plugin, so there is nothing extra to install: extend the preset aftercore.