From c04a0550ebc30a93cb4b629762c0e79e022618a6 Mon Sep 17 00:00:00 2001 From: Don Isaac Date: Wed, 16 Oct 2024 13:27:56 -0400 Subject: [PATCH] feat: add missing oxlint arguments --- src/oxlint.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/oxlint.ts b/src/oxlint.ts index c21fccf19af8..2efbe486e362 100644 --- a/src/oxlint.ts +++ b/src/oxlint.ts @@ -237,11 +237,14 @@ const completionSpec: Fig.Spec = { enablePlugin("nextjs", "Next.js"), enablePlugin("react-perf", "React Performance"), enablePlugin("Promise"), + enablePlugin("Import"), + enablePlugin("jsx-a11y", "JSX A11y"), + enablePlugin("Node"), + enablePlugin("Security"), disablePlugin("React"), disablePlugin("Unicorn"), disablePlugin("Oxc"), disablePlugin("TypeScript"), - disablePlugin("Import"), // ================================= LINTS ================================= { @@ -268,6 +271,14 @@ const completionSpec: Fig.Spec = { description: "Fix as many issues as possible. Only unfixed issues are reported in the output", }, + { + name: "--fix-suggestions", + description: "Apply auto-fixable suggestions. May change program behavior" + }, + { + name: "--fix-dangerously", + description: "Apply dangerous fixes and/or suggestions. Review changes carefully", + }, // ================================ OUTPUT ================================= { name: "--silent",