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

Enable import/no-extraneous-dependencies lint #888

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

emersion
Copy link
Member

@emersion emersion commented Feb 6, 2025

See individual commits.

Ensure all packages have dependencies properly defined. This is
especially important for a monorepo because dependencies might get
pulled in by another package by chance.

Disable the check for stories, because these depend on the package
they're in.

@emersion emersion requested review from kmer2016 and Caracol3 February 6, 2025 13:01
@emersion emersion requested a review from a team as a code owner February 6, 2025 13:01
@emersion emersion changed the title all: add missing react-dom and lodash dependencies Enable import/no-extraneous-dependencies lint Feb 6, 2025
@emersion emersion self-assigned this Feb 6, 2025
ui-warped-map needs react-dom, ui-manchette-with-spacetimechart and
ui-trackoccupancydiagram need lodash.

Signed-off-by: Simon Ser <[email protected]>
Ensure all packages have dependencies properly defined. This is
especially important for a monorepo because dependencies might get
pulled in by another package by chance.

Disable the check for stories, because these depend on the package
they're in.

Signed-off-by: Simon Ser <[email protected]>
@emersion emersion force-pushed the emr/import-no-extra-deps branch from fb5b38a to 49fb48d Compare February 6, 2025 15:51
Copy link
Contributor

@kmer2016 kmer2016 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !

Copy link
Contributor

@Caracol3 Caracol3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@emersion emersion added this pull request to the merge queue Feb 6, 2025
Merged via the queue into dev with commit 4849d09 Feb 6, 2025
6 checks passed
@emersion emersion deleted the emr/import-no-extra-deps branch February 6, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants