Glen Cheney

1.7K posts

Glen Cheney banner
Glen Cheney

Glen Cheney

@Vestride

Staff Software Engineer @lyft | @RITtigers NMID Alumnus | Gamer. Previously @odopod. He/Him.

Charlotte, NC Katılım Nisan 2009
186 Takip Edilen164 Takipçiler
Glen Cheney
Glen Cheney@Vestride·
@slicknet I recognize that and agree with you, but I think you're glossing over my point: `config-migrate` could do more: install the right `@​eslint/*` packages, update `eslint` from v8 to v9, and delete the old rc file.
English
1
0
0
14
Nicholas C. Zakas
Nicholas C. Zakas@slicknet·
@Vestride This is the challenge - Next has their own ESLint setup including plugins. We just can’t ensure that every mix of plugins works correctly together. That should really be on the Next team to get things running with ESLint v9.
English
1
0
0
23
Glen Cheney
Glen Cheney@Vestride·
@slicknet Yep, I get that. I definitely expect to have new linting errors that I need to go fix, but I did not expect my build script to throw errors after running config-migrate. Would be nice if it installed the right core pkgs for me like Storybook.
English
1
0
0
102
Glen Cheney
Glen Cheney@Vestride·
@slicknet Switching from yarn to npm got `next lint` working (same config as config-migrate created). So maybe there's some issue with yarn/next/eslint 🤷‍♂️
English
1
0
0
20
Glen Cheney
Glen Cheney@Vestride·
@slicknet Tried installing react-hooks too, failed. I've submitted feedback on the Next.js ESLint integration page already. If I I use "eslint ." instead of "next lint" in my script, I can get things working with a basic config. But then I'm missing all the Next.js linting, which I need.
English
1
0
0
36
Nicholas C. Zakas
Nicholas C. Zakas@slicknet·
@Vestride Also, the rules themselves may change from version to version, both in core and plugins. New lint errors can occur just from a semver minor bump and there’s no real way to account for that.
English
1
0
0
113
Nicholas C. Zakas
Nicholas C. Zakas@slicknet·
Are you still using ESLint v8.x? I'd like to know what we can do to help you upgrade to the v9.x line.
English
6
0
3
2.4K
Glen Cheney
Glen Cheney@Vestride·
@slicknet I was hoping for a more automated process, like Storybook's #automatic-upgrade" target="_blank" rel="nofollow noopener">storybook.js.org/docs/migration… After running config-migrate, I didn't expect to have errors related to dependencies when running my lint script 2/2
English
1
0
0
15
Glen Cheney
Glen Cheney@Vestride·
@slicknet Yeah, I realized there was a link to the config page while writing the original reply 🙃 I think that's related to me skimming the page to actually find _how_ to upgrade. My preferred process is 1) upgrade then 2) fix errors by referring to breaking changes. 1/2
English
1
0
0
15
Glen Cheney
Glen Cheney@Vestride·
@slicknet but that's not mentioned anywhere in the migration guide. It took me a long time to realize "Configuration Migration Guide" was a separate page. 3/3
English
1
0
0
31
Glen Cheney
Glen Cheney@Vestride·
@slicknet I liked the retrospective post. I'll add that I wish the "Migrate to v9.x" page told me _how_ to migrate first, not "what changed". For example, I see code examples online using FlatCompat 2/3
English
1
0
0
16
Glen Cheney
Glen Cheney@Vestride·
@DimonShin @kettanaito @evanyou Being able to use a JavaScript debugger to fix/inspect tests was very useful. I think you can do the same with jest, but it’s not as easy to configure. #vs-code" target="_blank" rel="nofollow noopener">vitest.dev/guide/debuggin…
English
0
0
0
85
Artem Zakharchenko
Artem Zakharchenko@kettanaito·
If you are starting a new project, please don't use Jest. Use Vitest instead.
English
36
24
622
76.9K
Glen Cheney
Glen Cheney@Vestride·
@kettanaito @DimonShin @evanyou I did a proof of concept in January with Vitest, but it was 45% slower than Jest 29 locally and 8% slower in CI. It’s just not fast enough for me to recommend any kind of migration off Jest yet. Vitest debugging with VS Code was awesome though.
English
1
0
5
178
Artem Zakharchenko
Artem Zakharchenko@kettanaito·
@DimonShin @evanyou Vitest is generally faster, even though it runs in isolated mode by default. If your CI takes time or Jest is finicky, use the time lost as the argumentation to see this migration through.
English
3
0
1
2.1K
Marketing Examples
Marketing Examples@GoodMarketingHQ·
100% of Ralph Lauren's tweets are statements. But ~70% of Calvin Klein's tweets are questions. What's happening? Well, since Elon took over Twitter's algorithm is open source. TL;DR: 1 reply is worth 13.5 retweets and 27 likes. Replies are HUGE. So take heed. Learn from Calvin: “Don't write at the reader. Involve her.” P.S. I kinda forgot to post for a year (whoops!) and the account got lost steam. In the spirit of the example... if you like the tips, do reply, I'm not a faceless corp, you can say hi - harry
Marketing Examples tweet mediaMarketing Examples tweet media
English
85
73
942
298.9K
Glen Cheney
Glen Cheney@Vestride·
@Greenskull just played against you in some team slayer with a couple buddies, GGs!
English
0
0
0
0
Glen Cheney
Glen Cheney@Vestride·
Had a blast playing the new @CrisisSoda game. Highly recommend it if you're a fan of fast-paced side-scrolling games!
English
0
0
0
0
Kaleb White
Kaleb White@cujojp·
It's still trading under it's IPO price. Think about that.
English
2
0
0
0
Kaleb White
Kaleb White@cujojp·
$UBER only up 5.8% in AH while the company is guided to be EBITDA positive through 2022 is a crime.
English
1
0
0
0