Skip to content

Commit a0c5203

Browse files
committed
docs(linter/import/named): update "ES7" comment in examples (#15410)
In import-js/eslint-plugin-import#131, ES7 is linked to https://github.com/leebyron/ecmascript-more-export-from. This proposal is not standardized yet and is not relevant to these examples.
1 parent 3dc24b5 commit a0c5203

File tree

1 file changed

+2
-2
lines changed
  • crates/oxc_linter/src/rules/import

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ declare_oxc_lint!(
5757
/// // ./baz.js
5858
/// import { notFoo } from './foo'
5959
///
60-
/// // ES7 proposal
60+
/// // re-export
6161
/// export { notFoo as defNotBar } from './foo'
6262
///
6363
/// // will follow 'jsnext:main', if available
@@ -69,7 +69,7 @@ declare_oxc_lint!(
6969
/// // ./bar.js
7070
/// import { foo } from './foo'
7171
///
72-
/// // ES7 proposal
72+
/// // re-export
7373
/// export { foo as bar } from './foo'
7474
///
7575
/// // node_modules without jsnext:main are not analyzed by default

0 commit comments

Comments
 (0)