TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Can someone tell me how to get eslint working properly?

1 pointsby itsevrgrnabout 7 years ago
I have watched numerous videos on youtube and I just can't figure this out. Can you tell me how to delete any linters I have made by improperly setting it up and get it working with the airbnb configuration / with prettier on my mac?

1 comment

fiivabout 7 years ago
First, install eslint. Then you probably want to add a plugin to your editor that shows it as you&#x27;re working in your code. All the popular editors have plugins for this, have a look.<p>Then you need to set a config for your project, typically through a .eslintrc.js file in the root of your project. There you specify the airbnb config.<p>Keep in mind, if you do not use JSX you will want the airbnb base config.
评论 #17056439 未加载