You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Update lint.md with info on writing custom plugins (#2381)
Added information about writing custom JS plugins. Also clarified that
TypeScript Go is TS7.
Signed-off-by: Connor Shea <2977353+connorshea@users.noreply.github.com>
Co-authored-by: MK (fengmk2) <fengmk2@gmail.com>
Copy file name to clipboardExpand all lines: docs/guide/lint.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,8 +43,10 @@ We recommend enabling both `typeAware` and `typeCheck` in the `lint` block:
43
43
-`typeAware: true` enables rules that require TypeScript type information
44
44
-`typeCheck: true` enables full type checking during linting
45
45
46
-
This path is powered by [tsgolint](https://github.com/oxc-project/tsgolint) on top of the TypeScript Go toolchain. It gives Oxlint access to type information and allows type checking directly via `vp lint` and `vp check`.
46
+
This path is powered by [tsgolint](https://github.com/oxc-project/tsgolint) on top of the TypeScript 7 (aka TypeScript Go) toolchain. It gives Oxlint access to type information and allows type checking directly via `vp lint` and `vp check`.
47
47
48
48
## JS Plugins
49
49
50
50
If you are migrating from ESLint and still depend on a few critical JavaScript-based ESLint plugins, Oxlint has [JS plugin support](https://oxc.rs/docs/guide/usage/linter/js-plugins) that can help you keep those plugins running while you complete the migration.
51
+
52
+
JS Plugins also enable [writing your own custom rules](https://oxc.rs/docs/guide/usage/linter/writing-js-plugins.html) for Oxlint.
0 commit comments