From ad44cfa840eb26152e82b1cb567fe43d8831e6e9 Mon Sep 17 00:00:00 2001 From: Zak <8143258+ZakisM@users.noreply.github.com> Date: Thu, 21 Nov 2024 01:46:12 +0000 Subject: [PATCH] docs(linter): import/first options (#7381) Fix the docs for [import-first](https://oxc.rs/docs/guide/usage/linter/rules/import/first.html#import-first) which mentions the option `"absolute-import"` rather than `"absolute-first"` --- crates/oxc_linter/src/rules/import/first.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_linter/src/rules/import/first.rs b/crates/oxc_linter/src/rules/import/first.rs index 57ff1d6329a6d..69fc06c2be20e 100644 --- a/crates/oxc_linter/src/rules/import/first.rs +++ b/crates/oxc_linter/src/rules/import/first.rs @@ -72,7 +72,7 @@ declare_oxc_lint!( /// /// ### Options /// - /// with `"absolute-import"`: + /// with `"absolute-first"`: /// /// Examples of **incorrect** code for this rule: /// ```js