Giter Club home page Giter Club logo

Comments (5)

danielstjules avatar danielstjules commented on May 18, 2024

Feel free! :) That would be helpful and really awesome, since I've been falling a bit behind on things. I'll hopefully get around to updating the bin itself to accept an ignore option (as per #2). But that's the only expected change to the bin coming up. Rest of it will be to lib/specs, which wouldn't affect the public API.

from jsinspect.

stefanjudis avatar stefanjudis commented on May 18, 2024

No problem. Will have a look into it now, should be done in the next couple of days. :bowtie:

https://github.com/stefanjudis/grunt-jsinspect

from jsinspect.

alexeyraspopov avatar alexeyraspopov commented on May 18, 2024

Great!

Also, I'm working on gulp-plugin for jsinspect and I hope I can ask some questions here. @danielstjules can you describe how diff and colors params work? Should they be configurable?

from jsinspect.

danielstjules avatar danielstjules commented on May 18, 2024

@alexeyraspopov Happy to hear you're interested in helping out!

  -D, --no-diff             disable 2-way diffs
  -C, --no-color            disable colors

I'd originally imagined that they'd both be on by default, but could be disabled. They're both simply booleans based on the provided flags, with color being passed once, and diff twice. Once for the inspector, telling it to generate diffs, a second time to the reporters, to have them use the diffs.

inspector = new Inspector(paths, {
  threshold:   program.threshold,
  diff:        program.diff,
  identifiers: program.identifiers
});

reporterType = reporters[program.reporter] || reporters.default;
new reporterType(inspector, program.diff);
inspector.run();

from jsinspect.

danielstjules avatar danielstjules commented on May 18, 2024

@alexeyraspopov @stefanjudis Feel free to ping me on here or twitter when done your individual plugins, and I'll link to them in the readme. :) I'm gonna close this in the meantime.

from jsinspect.

Related Issues (20)

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.