-
-
Notifications
You must be signed in to change notification settings - Fork 48
feat: added the no-goto-without-base
rule
#679
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
Conversation
🦋 Changeset detectedLatest commit: 9a07b52 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Hi,
|
Thank you for this PR! But, I'm not familiar with creating web apps with SvelteKit. |
Added Until then, I think this rule is useful but I think it's not |
Hi, I don't think this needs to be recommended, but actually if you don't use basepath, prepending it is still correct in the sense that it doesn't break anything and enables you to use a basepath down the line. But if this is something that would be added to SvelteKit itself down the line, it doesn't really make sense to me to make this recommended either... |
In my opinion, anyway, ESLint allows users to set rules freely, so as long as the rules are not annoying, they can be merged. |
Maybe this rule should also check |
Well, that's a little bit more complicated. That is because as per the SvelteKit docs, you should use |
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.
Thank you for updating this PR! LGTM!
Also, thank you for your opinion. Let's make checking for the <a>
tag a separate rule, as different users may have different preferences.
(I fixed the CI error in another PR.)
Closes #675