docs: add Fully type-aware linting for Astro, Svelte, and Vue blog post#2456
docs: add Fully type-aware linting for Astro, Svelte, and Vue blog post#2456
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
| The traditional ESLint approach to linting TS-based languages has been a pain for a very long time. | ||
| It is hard to configure, and it has a lot of limitations that don't allow type-aware rules to work as well as they should. | ||
| Learn how Flint's architecture solves this once and for all! | ||
| title: Flawless type-aware linting for Astro, Svelte, and Vue |
There was a problem hiding this comment.
I'm not sure, but this heading may be a bit too clickbait-ish. If so, I can change it to something less strong.
There was a problem hiding this comment.
It's not clickbait (IMO), it's true :)
There was a problem hiding this comment.
Oh boy finding the right balance of clickbait-y-ness is such a struggle... I still wish I'd figured out something slightly less extravagant for https://typescript-eslint.io/blog/typed-linting.
Although "flawless" is technically correct in reference to just the types in linting, I suspect using it here makes it seem like we're claiming that all Flint linting (for these languages) is flawless. Which is a bit more than we should.
Maybe... "Fully" instead of "Flawless"?
There was a problem hiding this comment.
I still wish I'd figured out something slightly less extravagant for typescript-eslint.io/blog/typed-linting.
For the record, I remember liking the title :)
Maybe I just have a thing for clickbait though? 🤷🏻♂️
There was a problem hiding this comment.
At this point it's indeed flawless, because I haven't yet discovered any non-fixable limitation. Although, if at some point we find one, then this title would be a lie...
Maybe... "Fully" instead of "Flawless"?
"Fully" doesn't show that we solved some actual flaws 🤔
Maybe something like:
- Rethinking type-aware linting for Astro, Svelte, and Vue
- Type-aware linting for Astro, Svelte, and Vue, done right
- Closing the gaps in type-aware linting for Astro, Svelte, and Vue
There was a problem hiding this comment.
I like "done right" better but if we're trying to stay objective, "Closing the gaps" is probably best.
There was a problem hiding this comment.
Maybe 🌶️: we don't have to be completely objective. We can promote ourselves a little bit. "Fully" is still top in my mind because it implies other linters aren't full (which is objectively true!).
But "closing the gaps" sounds good to me too.
There was a problem hiding this comment.
Okay, so the new title is "Fully type-aware linting for Astro, Svelte, and Vue blog post"!
So you should start a blog. 🙃 It was great! |
lishaduck
left a comment
There was a problem hiding this comment.
Overall, fantastic blogpost!
Approving b/c 1) it's mostly style comments and I trust you to do with them what you want and 2) I don't want to be AFK and block this landing on time. ![]()
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Eli <88557639+lishaduck@users.noreply.github.com>
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
JoshuaKGoldberg
left a comment
There was a problem hiding this comment.
Wow. Wowwow! Great post @auvred. I had a fantastic time reading through it. It thoroughly answers a lot of the questions I had coming into reviewing the work: why Volar, why set the transforms up the way it does, and how it all works together for Flint. Awesome writing! 👏
I left a bunch of comments internally, but don't want to be prescriptive for any of them. Please do push back if you think I'm wrong, especially on the [Content] notes!
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/flawless-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Josh Goldberg ✨ <github@joshuakgoldberg.com> Co-authored-by: Eli <88557639+lishaduck@users.noreply.github.com>
|
I think I've addressed all reviews (?) Not resolved review commits have a few pending discussions |
JoshuaKGoldberg
left a comment
There was a problem hiding this comment.
Progress!
I might have run out of time to review tonight but want to get you these thoughts ASAP. Will post more soon 🚀.
This blog post is freaking great though. I'm mostly going through in the mindset of an editor, trying to tighten up phrasing the way my editors have done for me. IMO we could absolutely ship as-is and it'd be great. Just, you know, perfectionism 😁
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Show resolved
Hide resolved
| [90m╰[39m | ||
|
|
||
| [31m✖ Found [1m3 reports[22m across [1m2 files[22m.[39m | ||
| ``` |
| title: Maintainer | ||
| picture: /team/auvred.webp | ||
| url: https://github.com/auvred | ||
| date: 2026-03-18 |
There was a problem hiding this comment.
How do you feel about, say... Tuesday?
| date: 2026-03-18 | |
| date: 2026-03-24 |
JoshuaKGoldberg
left a comment
There was a problem hiding this comment.
This is it for now. It's feeling good!!
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Show resolved
Hide resolved
JoshuaKGoldberg
left a comment
There was a problem hiding this comment.
Hell yeah! Thanks and 👏 for all your hard work on this post. It does a great job of explaining a ton of awesome deep technical work you powered through, in a way that's actually really approachable and fun. I think people are going to be enamored with this.
Because I've gone over this so much, I think I'm no longer objectively able to edit it. In an ideal world we would have another deep editing pass. But, you know, it's pretty great. I'm happy with merging as soon as you & any other reviewing team members are.
Whoo!
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Outdated
Show resolved
Hide resolved
packages/site/src/content/docs/blog/fully-type-aware-linting-for-astro-svelte-and-vue.mdx
Show resolved
Hide resolved
|
@all-contributors please add @auvred for doc.
|
|
I've put up a pull request to add @auvred! 🎉 |

PR Checklist
status: accepting prsOverview
This is my first ever blog post, so...