Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(eslint): prevent duplicate module import paths #22049

Open
Hotell opened this issue Mar 10, 2022 · 15 comments
Open

feat(eslint): prevent duplicate module import paths #22049

Hotell opened this issue Mar 10, 2022 · 15 comments

Comments

@Hotell
Copy link
Contributor

Hotell commented Mar 10, 2022

Describe the issue:

Actual behavior:

Following code wont' be autofix nor triggers lint warnings:

import {Foo} from '@fluentui/hello'
import {Yolo} from '../life'
import {Bar} from '@fluentui/hello'
import {Long} from '../life'

Expected behavior:

module path duplicates should trigger lint warnings, ideally should be autofixed on save/pre-commit

import {Foo} from '@fluentui/hello'
import {Yolo} from '../life'
import {Bar} from '@fluentui/hello'
import {Long} from '../life'

↓↓↓

import {Foo, Bar} from '@fluentui/hello'
import {Yolo, Long} from '../life'

Related

#21924 (comment)

@msft-fluent-ui-bot
Copy link
Collaborator

Because this issue has not had activity for over 180 days, we're automatically closing it for house-keeping purposes.

Still require assistance? Please, create a new issue with up-to date details.

@Hotell Hotell reopened this Sep 20, 2022
@layershifter layershifter removed the Resolution: Soft Close Soft closing inactive issues over a certain period label Jan 23, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution: Soft Close Soft closing inactive issues over a certain period labels Aug 25, 2023
@microsoft-github-policy-service

Because this issue has not had activity for over 180 days, we're automatically closing it for house-keeping purposes.

Still require assistance? Please, create a new issue with up-to date details.

2 similar comments
@microsoft-github-policy-service

This comment was marked as duplicate.

@microsoft-github-policy-service

This comment was marked as duplicate.

@microsoft-github-policy-service

This comment was marked as duplicate.

2 similar comments
@microsoft-github-policy-service

This comment was marked as duplicate.

@microsoft-github-policy-service

This comment was marked as duplicate.

@microsoft-github-policy-service

This comment was marked as duplicate.

4 similar comments
@microsoft-github-policy-service

This comment was marked as duplicate.

@microsoft-github-policy-service

This comment was marked as duplicate.

@microsoft-github-policy-service

This comment was marked as duplicate.

@microsoft-github-policy-service

This comment was marked as duplicate.

@Hotell Hotell reopened this Sep 19, 2023

Because this issue has not had activity for over 180 days, we're automatically closing it for house-keeping purposes.

Still require assistance? Please, create a new issue with up-to date details.

@Hotell Hotell changed the title lint: prevent duplicate module import paths feat(eslint): prevent duplicate module import paths Mar 28, 2024
@Hotell Hotell reopened this Mar 28, 2024
@Hotell Hotell removed their assignment Mar 28, 2024

This issue has not had activity for over 180 days! We're adding Soft close label and will close it soon for house-keeping purposes.
Still require assistance? Please add comment - "keep open".

@Hotell
Copy link
Contributor Author

Hotell commented Oct 7, 2024

keep open

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants