Skip to content

Meta: Fix @typescript-eslint/naming-convention errors#9135

Open
SunsetTechuila wants to merge 8 commits intorefined-github:mainfrom
SunsetTechuila:lint
Open

Meta: Fix @typescript-eslint/naming-convention errors#9135
SunsetTechuila wants to merge 8 commits intorefined-github:mainfrom
SunsetTechuila:lint

Conversation

@SunsetTechuila
Copy link
Copy Markdown
Member

@SunsetTechuila SunsetTechuila commented Mar 28, 2026

Makes struggling less constant: #9133 (comment)

Makes DX inside the IDE less insufferable

Test URLs

Screenshot

@SunsetTechuila SunsetTechuila added the meta Related to Refined GitHub itself label Mar 28, 2026
@SunsetTechuila SunsetTechuila marked this pull request as ready for review March 28, 2026 03:43
@SunsetTechuila
Copy link
Copy Markdown
Member Author

SunsetTechuila commented Mar 28, 2026

We can also disable only snake and kebab cases: #9133 (comment)

fregante
fregante previously approved these changes Mar 28, 2026
Copy link
Copy Markdown
Member

@fregante fregante left a comment

Choose a reason for hiding this comment

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

Yessss, thank you! Those changes were sort of grandfathered in for a few reasons, but were not meant to stay that way.

@fregante fregante marked this pull request as draft March 28, 2026 06:52
Copy link
Copy Markdown
Member

@fregante fregante left a comment

Choose a reason for hiding this comment

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

A few things to check first

@fregante fregante dismissed their stale review March 28, 2026 07:03

Needs changed

@SunsetTechuila SunsetTechuila requested a review from fregante March 28, 2026 07:36
@SunsetTechuila
Copy link
Copy Markdown
Member Author

SunsetTechuila commented Mar 28, 2026

Changing PR to Pr, GH to Gh, GraphQL to GraphQl and UI to Ui is diabolical

@SunsetTechuila
Copy link
Copy Markdown
Member Author

Everything has been rechecked and all review comments have been addressed

image

@SunsetTechuila SunsetTechuila marked this pull request as ready for review March 28, 2026 08:00
Comment on lines +32 to +33
options.logHttp = options.logHTTP;
options.customCss = options.customCSS as unknown as string;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

of this should be

		options.logHttp = options.logHTTP ?? options.logHttp;
		options.customCss = options.customCSS as unknown as string ?? options.customCss;

?

Copy link
Copy Markdown
Member

@fregante fregante Mar 28, 2026

Choose a reason for hiding this comment

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

Check the docs, it should look for the old key, assign it to the new one and then delete it

https://github.com/fregante/webext-options-sync

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

and then delete it

doesn't OptionsSyncPerDomain.migrations.removeUnused handle that?

@fregante
Copy link
Copy Markdown
Member

struggling

insufferable

image

@fregante
Copy link
Copy Markdown
Member

diabolical

Complaining about things in every comment is diabolical and it gets old. If you don't want to do it, don't do it.

@SunsetTechuila
Copy link
Copy Markdown
Member Author

SunsetTechuila commented Mar 28, 2026

If you don't want to do it, don't do it.

If this is about this PR - I dislike not being able to see some linting errors before I push more than renaming PR to Pr and UI to Ui.

If this is in general - I haven't run out of patience yet, and I still like the extension more than I dislike the DX.

Complaining about things

I'm doing this in hope you make at least some defaults more sane or override them.

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

Labels

meta Related to Refined GitHub itself

Development

Successfully merging this pull request may close these issues.

2 participants