Skip to content

Commit 74b922c

Browse files
committed
docs: credit both typescript-eslint and oxlint for inspiration
Error message combines typescript-eslint's "Do not use any type assertions" with oxlint's help text suggesting type annotations / satisfies operator.
1 parent 664dcba commit 74b922c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mod.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* Deno lint plugin that forbids TypeScript type assertions (`as` and angle-bracket).
33
* `as const` / `<const>` is allowed.
44
*
5-
* Inspired by `@typescript-eslint/consistent-type-assertions`
6-
* with `{ assertionStyle: "never" }`, implemented as a native Deno lint plugin.
5+
* Inspired by `@typescript-eslint/consistent-type-assertions` (`assertionStyle: "never"`)
6+
* and `oxc/consistent-type-assertions` (error message), implemented as a native Deno lint plugin.
77
*
88
* @example
99
* ```jsonc

0 commit comments

Comments
 (0)