Skip to content

Use ESLint directly instead of xo #2065

Answered by wooorm
JounQin asked this question in General
Discussion options

You must be logged in to vote

I don’t quite understand.

  • Different: It being different, namely that it has useful features, is why I use xo. It looks like in 671, there are rules that xo turns on, which ESLint doesn’t default to, which don’t work with eslint-mdx?
  • Slow: It can be slow, but that’s because it includes a lot of useful rules
  • Debugging: My guess is that it has the same debugging as ESLint: DEBUG="*" xo...
  • Root: The root option you mention seems to be a problem with VS Code? If possible, I recommend not using a global ~/.eslintrc. Otherwise, you can typically tell VS Code plugins that they need to be configured in a project. I believe xo has such an option

And all its functionality can be replaced by ESLin…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@JounQin
Comment options

JounQin Jun 20, 2022
Collaborator Author

@JounQin
Comment options

JounQin Jun 20, 2022
Collaborator Author

@wooorm
Comment options

@JounQin
Comment options

JounQin Jun 20, 2022
Collaborator Author

@wooorm
Comment options

Answer selected by JounQin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants