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

replace prefetchq/eslint-config with eslint v9 config #292

Merged
merged 5 commits into from
Nov 7, 2024

Conversation

stackoverfloweth
Copy link
Contributor

This PR replaces the outdated @prefecthq/eslint-config with a local eslint.config built on v9

After merging this, I'll pull back out the dependencies/config into something like @kitbag/eslint-config

I also ran lint:fix and fixed some manual places

we can ignore the following errors, I'll explicitly override these rules inside this project when I pull out the config

Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Expected an error object to be thrown @typescript-eslint/only-throw-error

Copy link

netlify bot commented Nov 6, 2024

Deploy Preview for kitbag-router ready!

Name Link
🔨 Latest commit 1a38302
🔍 Latest deploy log https://app.netlify.com/sites/kitbag-router/deploys/672c2ff2f01ffe0008a759e6
😎 Deploy Preview https://deploy-preview-292--kitbag-router.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

&& typeof value.get === 'function'
&& 'set' in value
&& typeof value.set === 'function'
return typeof value === 'object' && 'get' in value && typeof value.get === 'function' && 'set' in value && typeof value.set === 'function'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

flag

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this too should be resolved

src/components/routerLink.browser.spec.ts Outdated Show resolved Hide resolved
src/components/routerView.browser.spec.ts Show resolved Hide resolved
src/services/component.ts Show resolved Hide resolved
src/services/createRoute.ts Show resolved Hide resolved
src/services/createRouter.ts Show resolved Hide resolved
src/services/hooks.spec.ts Show resolved Hide resolved
src/types/utilities.ts Show resolved Hide resolved
@stackoverfloweth stackoverfloweth merged commit 43c8a13 into main Nov 7, 2024
7 checks passed
@stackoverfloweth stackoverfloweth deleted the eslint-9 branch November 7, 2024 03:53
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.

2 participants