Skip to content

Commit 2fa83a4

Browse files
committed
docs(linter): Improve the docs for import/unambiguous. (#18474)
1 parent 7b1505c commit 2fa83a4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

crates/oxc_linter/src/rules/import/unambiguous.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ pub struct Unambiguous;
1616
declare_oxc_lint!(
1717
/// ### What it does
1818
///
19-
/// Warn if a `module` could be mistakenly parsed as a `script` and not pure ESM module
19+
/// Warn if a `module` could be mistakenly parsed as a `script` instead of
20+
/// as a pure [ES module](https://nodejs.org/api/esm.html#modules-ecmascript-modules).
2021
///
2122
/// ### Why is this bad?
2223
///
23-
/// For ESM-only environments helps to determine files that not pure ESM modules
24+
/// For ESM-only environments, ambiguous files may lead to unexpected results and problems.
2425
///
2526
/// ### Examples
2627
///

0 commit comments

Comments
 (0)