Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions crates/oxc_linter/src/rules/import/unambiguous.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ pub struct Unambiguous;
declare_oxc_lint!(
/// ### What it does
///
/// Warn if a `module` could be mistakenly parsed as a `script` and not pure ESM module
/// Warn if a `module` could be mistakenly parsed as a `script` instead of
/// as a pure [ES module](https://nodejs.org/api/esm.html#modules-ecmascript-modules).
///
/// ### Why is this bad?
///
/// For ESM-only environments helps to determine files that not pure ESM modules
/// For ESM-only environments, ambiguous files may lead to unexpected results and problems.
///
/// ### Examples
///
Expand Down
Loading