Repository navigation
v3.3.3
v3.3.3: Next-line suppressions for type assertions
require-safety-comment-for-type-assertion now recognizes a described oxlint-disable-next-line placed immediately before as, including when the directive is inside the asserted expression.
🐞 Fixed
- require-safety-comment-for-type-assertion: A described
oxlint-disable-next-line typescript/no-unsafe-type-assertionimmediately beforeasnow counts as justification, so multi-line assertions such astype({ ... // directive }).readonly() as Typeno longer reportmissingSafetyComment- by @howmanysmall in #85
Full Changelog: v3.3.2...v3.3.3