-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
chore: upgrade eslint to v9 #12098
chore: upgrade eslint to v9 #12098
Conversation
|
@@ -731,10 +728,7 @@ test.describe('data-sveltekit attributes', () => { | |||
page.waitForLoadState('networkidle') // wait for preloading to finish | |||
]); | |||
|
|||
expect(page).toHaveURL( | |||
'/data-sveltekit/preload-data/offline/slow-navigation' || | |||
(browserName === 'chromium' && 'chrome-error://chromewebdata/') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint reported always true condition. 'non-empty-string' || (whatever)
will always return 'non-empty-string'
, unless I'm missing something obvious.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, got it. I guess that's fine then. This has probably been like that for quite awhile, so should be safe to cleanup
Blocked by / test for sveltejs/eslint-config#31.Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
Tests
pnpm test
and lint the project withpnpm lint
andpnpm check
Changesets
pnpm changeset
and following the prompts. Changesets that add features should beminor
and those that fix bugs should bepatch
. Please prefix changeset messages withfeat:
,fix:
, orchore:
.Edits