-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for eslint-plugin? #47
Comments
Hey @moshest - thank you for logging this request! Are you thinking that npm-package-json-lint would run as part of a user's ESLint check? What do you see as the biggest advantage of this feature? |
Hi @moshest sorry if I'm slow, but I would like to make sure I understand what you would like. 🤓 You would like:
Thank you for the interest in the project! |
I'm just saying that create this library as eslint plugin could be very helpful for projects with multiple packages. There is no need for custom support for Lerna projects. The plugin can do it automatically by es-linting every |
Hey @moshest - a pre-release of v3.0.0 has been published to npm. The documentation is still a little sparse (that will change by the stable release). You can try it out by installing Let me know what you think! |
For my Lerna project i just wrote a script that lint every module. You can find it here: https://github.com/remotelib/remote-lib/blob/master/scripts/lint-package.sh I think that the main feature here is the eslint framework support. |
I went and took a look at the feasibility of converting the rules here into ESLInt rules and I don't believe this is possible primarily because ESLint does not include a JSON parser and has no plan of doing so. Also |
Just to clarify, we looking for a JSON parser that can return a |
Closing based on discussion with @ntwb. Relates to #81. |
I think this module could be use as a eslint-plugin.
Please see eslint-plugin-json for reference (this plugin linting json files).
The text was updated successfully, but these errors were encountered: