TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

ESLint is a Productivity Killer

3 点作者 ragmurugesan超过 1 年前
I&#x27;m flying solo on a web app project, using nextjs supabase.<p>Eslint? Yeah, it&#x27;s always giving me headaches. A lot of headache. I&#x27;ve been spending 30 to 60 minutes every day for the last week just trying to troubleshoot the problems it brings up and keeping it happy.<p>Now, I&#x27;m questioning whether Eslint is even worth keeping. Maybe I should just ditch it from my project and save myself the hassle.

2 条评论

mtmail超过 1 年前
I like how some linter have levels. Like Perl Critic or PHPStan. <a href="https:&#x2F;&#x2F;phpstan.org&#x2F;user-guide&#x2F;rule-levels" rel="nofollow">https:&#x2F;&#x2F;phpstan.org&#x2F;user-guide&#x2F;rule-levels</a> I never use the highest levels. With Eslint I stick to the Airbnb defaults (<a href="https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;eslint-config-airbnb" rel="nofollow">https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;eslint-config-airbnb</a>)
wdb超过 1 年前
Well, you need to adapt the Eslint config to your liking ;)
评论 #39149495 未加载