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

Add ESLint rule to prevent bad imports #171037

Open
delanni opened this issue Nov 10, 2023 · 1 comment
Open

Add ESLint rule to prevent bad imports #171037

delanni opened this issue Nov 10, 2023 · 1 comment
Labels
Team:Operations Team label for Operations Team

Comments

@delanni
Copy link
Contributor

delanni commented Nov 10, 2023

Some (probably automatic) imports may break storybook (or possibly other) builds.

The bad import looks like this:

import { css } from '@emotion/react/dist/emotion-react.cjs';

but it should be like this:

import { css } from '@emotion/react';

See: #171033

@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 10, 2023
@mistic mistic added the Team:Operations Team label for Operations Team label Nov 10, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Operations Team label for Operations Team
Projects
None yet
Development

No branches or pull requests

3 participants