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
Copy file name to clipboardExpand all lines: crates/oxc_linter/src/rules/import/unambiguous.rs
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,11 +16,12 @@ pub struct Unambiguous;
16
16
declare_oxc_lint!(
17
17
/// ### What it does
18
18
///
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).
20
21
///
21
22
/// ### Why is this bad?
22
23
///
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.
0 commit comments