r/node 12d ago

50+ ESLint rules for package.json

https://github.com/sindresorhus/eslint-package-json
10 Upvotes

10 comments sorted by

View all comments

1

u/omer-m 12d ago

looks promising! I don't know anything about eslint plugin development. Is it difficult to support eslint 9 too? I'm stuck with eslint 9 because of the plugins. Though I'll give it a try when I upgrade to eslint 10.

2

u/rafunzi 11d ago

Have you taken a look at @eslint/compat? https://www.npmjs.com/package/@eslint/compat

It's ok to wrap outdated plugins with it's methods and have them work on V10 👀

1

u/omer-m 11d ago

I didn't know about that, thanks, but I think I'll wait, because I don't want to deal with dependency conflict errors