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

Update ts-eslint #23723

Merged
merged 8 commits into from
Jan 14, 2025
Merged

Update ts-eslint #23723

merged 8 commits into from
Jan 14, 2025

Conversation

wendevlin
Copy link
Contributor

@wendevlin wendevlin commented Jan 13, 2025

Proposed change

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

In a future PR there should be plugin:@typescript-eslint/stylistic included to our config.

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@github-actions github-actions bot added Supervisor Related to the supervisor panel Cast Related to Home Assistant Cast UI Build Related to building the code Demo Related to frontend demo content Design Related to Home Assistant design gallery labels Jan 13, 2025
@silamon
Copy link
Contributor

silamon commented Jan 13, 2025

Nice to see this, I expected more issues though, but I see you turned the associated rules off.

silamon
silamon previously approved these changes Jan 13, 2025
src/fake_data/provide_hass.ts Outdated Show resolved Hide resolved
@wendevlin
Copy link
Contributor Author

Nice to see this, I expected more issues though, but I see you turned the associated rules off.

Yeah it would have lead to too much changes

silamon
silamon previously approved these changes Jan 14, 2025
@@ -34,7 +34,7 @@ export class HaAnsiToHtml extends LitElement {

@litState() private _filter = "";

protected render(): TemplateResult | void {
protected render(): TemplateResult | undefined {
Copy link
Member

Choose a reason for hiding this comment

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

When does this return undefined?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🤷 I just replaced void with undefined, I'll remove it.

@bramkragten bramkragten merged commit abe8899 into dev Jan 14, 2025
15 checks passed
@bramkragten bramkragten deleted the typescript-eslint-update branch January 14, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Related to building the code Cast Related to Home Assistant Cast UI cla-signed Demo Related to frontend demo content Design Related to Home Assistant design gallery Supervisor Related to the supervisor panel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants