srn / jlint Goto Github PK
View Code? Open in Web Editor NEWcli that parses the json you have in your current clipboard
License: MIT License
cli that parses the json you have in your current clipboard
License: MIT License
Since it is already possible to pass globs to jlint
, can you please consider adding an option to exclude directories (e.g. node_modules
) by globs as well?
Can you please support specifying the input files by multiple globs? It's not always possible/convenient to describe them by a single glob. It would be also nice if I would not need to prefix every glob with the --glob
option. The first is OK (although unusual) but I'd like to use it in combination with xargs
, thus prefixing every glob would be difficult.
FYI, you can use a module like globby, glob-all, globule or simple-glob to achieve that.
Hello,
since you already support passing a content of a file through the standard input stream, could you please also support passing file names as command line arguments?
My problem with the current cat filename | jlint
approach is that cat
is not available on all operating systems (i.e. Windows), so to write a portable script that lints JSON files (e.g. an NPM script), one has to write/install a portable cat
. With the possibility to pass just file names, the task would be much simpler.
If it would be possible to implement that, I would also like to ask you to support multiple file names since there is also no (builtin) portable for
command which would allow one to run jlint on multiple files.
And my last wish is that if it could also expand shell globs (like a lot of other Node programs do using minimatch) since the shell glob expressions do not work on all systems the same as well.
I believe that this feature is essential to use jlint
from scripts.
Hello, it seems to me that you forgot to tag the latest releases. If you don't do that, feel free to ignore this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.