Skip to content

Conversation

@weronikaolejniczak
Copy link
Contributor

@weronikaolejniczak weronikaolejniczak commented Apr 30, 2025

Summary

Closes #8668

On this PR, I address the comment from TypeScript update PR, regarding a warning on running yarn lint:

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

QA

Testing screenshots

In EUI:

Screenshot 2025-04-30 at 15 08 46 Screenshot 2025-04-30 at 15 09 35

In Kibana:

Screenshot 2025-04-30 at 15 22 45 Screenshot 2025-04-30 at 15 22 58 Screenshot 2025-04-30 at 15 23 11 Screenshot 2025-04-30 at 15 23 22

  • Run yarn workspace @elastic/eui lint, there should be no warning regarding @typescript-eslint/typescript-estree
  • Run yarn workspace @elastic/eslint-plugin-eui test, all unit tests should pass
  • Run yarn workspace @elastic/eslint-plugin-eui build, the package should build with no errors
  • Verify the release instructions for @elastic/eslint-plugin-eui are correct
  • (optionally) Follow the instructions on how to test the package (in Kibana) and verify the rules work correctly (see this PR QA section for exemplary files)

@weronikaolejniczak weronikaolejniczak requested a review from a team as a code owner April 30, 2025 13:14
@weronikaolejniczak weronikaolejniczak self-assigned this Apr 30, 2025
@weronikaolejniczak weronikaolejniczak marked this pull request as draft April 30, 2025 13:22
@weronikaolejniczak weronikaolejniczak force-pushed the 8668-update-typescript-packages-in-eslint-plugin branch from 010a8a1 to f45e072 Compare April 30, 2025 13:28
@weronikaolejniczak weronikaolejniczak marked this pull request as ready for review April 30, 2025 13:39
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

cc @weronikaolejniczak

@elasticmachine
Copy link
Collaborator

elasticmachine commented Apr 30, 2025

💚 Build Succeeded

History

cc @weronikaolejniczak

Copy link
Contributor

@acstll acstll left a comment

Choose a reason for hiding this comment

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

I verified commands run as expected locally, and the warning is gone :)

@weronikaolejniczak weronikaolejniczak merged commit d658067 into elastic:main May 5, 2025
6 checks passed
weronikaolejniczak added a commit to elastic/kibana that referenced this pull request Jun 3, 2025
`@elastic/eslint-plugin-eui`: `0.2.0` ⏩ `1.0.0`

[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)

## Changes

This PR updates the `@elastic/eslint-plugin-eui` version to latest:
[v1.0.0](https://www.npmjs.com/package/@elastic/eslint-plugin-eui/v/1.0.0).

## Package updates

### `@elastic/eslint-plugin-eui`

- Changed the `prefer-css-prop-for-static-styles` rule message (formerly
`prefer-css-attribute-for-eui-components`)
([#8722](elastic/eui#8722))

**Breaking changes**

- Renamed the rule from `prefer-css-attribute-for-eui-components` to
`prefer-css-prop-for-static-styles` to align with Emotion's best
practice guidelines ([#8722](elastic/eui#8722))

**Dependency updates**

- Updated `typescript` to v5.8.3
([#8669](elastic/eui#8669))
- Updated `@typescript-eslint/eslint-plugin` to v8.31.1
([#8669](elastic/eui#8669))
- Updated `@typescript-eslint/parser` to v8.31.1
([#8669](elastic/eui#8669))
- Updated `@typescript-eslint/rule-tester` to v8.31.1
([#8669](elastic/eui#8669))
- Updated `@typescript-eslint/typescript-estree` to v8.31.1
([#8669](elastic/eui#8669))
- Updated `@typescript-eslint/utils` to v8.31.1
([#8669](elastic/eui#8669))
zacharyparikh pushed a commit to zacharyparikh/kibana that referenced this pull request Jun 4, 2025
`@elastic/eslint-plugin-eui`: `0.2.0` ⏩ `1.0.0`

[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)

## Changes

This PR updates the `@elastic/eslint-plugin-eui` version to latest:
[v1.0.0](https://www.npmjs.com/package/@elastic/eslint-plugin-eui/v/1.0.0).

## Package updates

### `@elastic/eslint-plugin-eui`

- Changed the `prefer-css-prop-for-static-styles` rule message (formerly
`prefer-css-attribute-for-eui-components`)
([elastic#8722](elastic/eui#8722))

**Breaking changes**

- Renamed the rule from `prefer-css-attribute-for-eui-components` to
`prefer-css-prop-for-static-styles` to align with Emotion's best
practice guidelines ([elastic#8722](elastic/eui#8722))

**Dependency updates**

- Updated `typescript` to v5.8.3
([elastic#8669](elastic/eui#8669))
- Updated `@typescript-eslint/eslint-plugin` to v8.31.1
([elastic#8669](elastic/eui#8669))
- Updated `@typescript-eslint/parser` to v8.31.1
([elastic#8669](elastic/eui#8669))
- Updated `@typescript-eslint/rule-tester` to v8.31.1
([elastic#8669](elastic/eui#8669))
- Updated `@typescript-eslint/typescript-estree` to v8.31.1
([elastic#8669](elastic/eui#8669))
- Updated `@typescript-eslint/utils` to v8.31.1
([elastic#8669](elastic/eui#8669))
nickpeihl pushed a commit to nickpeihl/kibana that referenced this pull request Jun 12, 2025
`@elastic/eslint-plugin-eui`: `0.2.0` ⏩ `1.0.0`

[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)

## Changes

This PR updates the `@elastic/eslint-plugin-eui` version to latest:
[v1.0.0](https://www.npmjs.com/package/@elastic/eslint-plugin-eui/v/1.0.0).

## Package updates

### `@elastic/eslint-plugin-eui`

- Changed the `prefer-css-prop-for-static-styles` rule message (formerly
`prefer-css-attribute-for-eui-components`)
([elastic#8722](elastic/eui#8722))

**Breaking changes**

- Renamed the rule from `prefer-css-attribute-for-eui-components` to
`prefer-css-prop-for-static-styles` to align with Emotion's best
practice guidelines ([elastic#8722](elastic/eui#8722))

**Dependency updates**

- Updated `typescript` to v5.8.3
([elastic#8669](elastic/eui#8669))
- Updated `@typescript-eslint/eslint-plugin` to v8.31.1
([elastic#8669](elastic/eui#8669))
- Updated `@typescript-eslint/parser` to v8.31.1
([elastic#8669](elastic/eui#8669))
- Updated `@typescript-eslint/rule-tester` to v8.31.1
([elastic#8669](elastic/eui#8669))
- Updated `@typescript-eslint/typescript-estree` to v8.31.1
([elastic#8669](elastic/eui#8669))
- Updated `@typescript-eslint/utils` to v8.31.1
([elastic#8669](elastic/eui#8669))
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.

Update typescript packages in eslint-plugin

3 participants