-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 fix(config/test): try to fix config test
- Loading branch information
1 parent
a782854
commit f30293e
Showing
6 changed files
with
504 additions
and
440 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# no-import-dist | ||
|
||
Prevent importing modules in `dist` folder. | ||
|
||
## Rule Details | ||
|
||
<!-- eslint-skip --> | ||
```js | ||
// 👎 bad | ||
import { Foo, Bar, Foo } from '../dist/index.js'; | ||
``` | ||
|
||
<!-- eslint-skip --> | ||
```js | ||
// 👍 good | ||
import { Foo, Bar } from './index.ts'; | ||
``` |
Oops, something went wrong.