-
Notifications
You must be signed in to change notification settings - Fork 419
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
Multiple files support #77
Comments
Checkout my fork - https://github.com/ginman86/jsonlint and PR - #75 |
Cool, great news! |
Hi could you open up the issue section and release it on npm please. |
@ginman86 that looks great, I've switched to your branch. You should really start doing releases to npm |
What is the best way of getting this fork via npm? |
+1, this should go live on the main fork. |
Note that the JSON Lint CLI only accepts a single file and does not support globbing [1]. This required writing a custom NPM script to perform the linting instead of invoking the jsonlint command directly. This script can be replaced if multiple file support is added to JSON Lint in the future. [1] zaach/jsonlint#77
Check out jsonlint-cli. |
I needed some bugfixes and extensions to |
Something is fishy here. I do not see any reason why another tool would be needed for implementing the missing CLI behavior. Also the linked tool seems to have the last release more than 4 years ago. This make me question the trust in both. Why having two less than ideally maintained tools instead of just one? ...especially as the ability to receive multiple file arguments seems to be a very basic feature of almost any linter. |
Hello,
I'd like to ask you to implement (and document) support for specifying multiple input files. That would allow us to run
jsonlint
from build (e.g. npm) scripts since we would like to pass the list of the files to lint from an environment variable. There is actually a lot of linters that accept multiple files already.The text was updated successfully, but these errors were encountered: