Skip to content

Commit

Permalink
[Docs] extensions: removed incorrect cases
Browse files Browse the repository at this point in the history
  • Loading branch information
wenfangdu authored and ljharb committed Jun 25, 2021
1 parent b3d8c0c commit 1012eb9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Expand Up @@ -11,6 +11,9 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
- [`extensions`]: avoid crashing on partially typed import/export statements ([#2118], thanks [@ljharb])
- [`no-extraneous-dependencies`]: add ESM intermediate package.json support] ([#2121], thanks [@paztis])

### Changed
- [Docs] `extensions`: removed incorrect cases ([#2138], thanks [@wenfangdu])

## [2.23.4] - 2021-05-29

### Fixed
Expand Down Expand Up @@ -805,6 +808,7 @@ for info on changes for earlier releases.

[`memo-parser`]: ./memo-parser/README.md

[#2138]: https://github.com/benmosher/eslint-plugin-import/pull/2138
[#2121]: https://github.com/benmosher/eslint-plugin-import/pull/2121
[#2099]: https://github.com/benmosher/eslint-plugin-import/pull/2099
[#2097]: https://github.com/benmosher/eslint-plugin-import/pull/2097
Expand Down Expand Up @@ -1416,9 +1420,10 @@ for info on changes for earlier releases.
[@TrevorBurnham]: https://github.com/TrevorBurnham
[@ttmarek]: https://github.com/ttmarek
[@vikr01]: https://github.com/vikr01
[@wenfangdu]: https://github.com/wenfangdu
[@wKich]: https://github.com/wKich
[@wschurman]: https://github.com/wschurman
[@wtgtybhertgeghgtwtg]: https://github.com/wtgtybhertgeghgtwtg
[@xpl]: https://github.com/xpl
[@yordis]: https://github.com/yordis
[@zloirock]: https://github.com/zloirock
[@zloirock]: https://github.com/zloirock
4 changes: 0 additions & 4 deletions docs/rules/extensions.md
Expand Up @@ -109,8 +109,6 @@ import foo from './foo';
import bar from './bar';

import Component from './Component';

import express from 'express';
```

The following patterns are not considered problems when configuration set to "always":
Expand All @@ -122,8 +120,6 @@ import bar from './bar.json';

import Component from './Component.jsx';

import express from 'express/index.js';

import * as path from 'path';
```

Expand Down

0 comments on commit 1012eb9

Please sign in to comment.