Coder Social home page Coder Social logo

jlint's People

Contributors

srn avatar tobiasberg avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

schorsch3000

jlint's Issues

Exclude files

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?

Multiple globs

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.

RFE: pass file(s) as command line arguments

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.

Tag releases

Hello, it seems to me that you forgot to tag the latest releases. If you don't do that, feel free to ignore this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.