Code Monkey home page Code Monkey logo

Comments (7)

yoshuawuyts avatar yoshuawuyts commented on July 20, 2024

I really like the idea! I've been having issues with the readability myself, would be awesome if you'd build this.

from grunt-contrib-jshint.

shama avatar shama commented on July 20, 2024

That output looks like an improvement to me. Would be useful as a separate module so other libs can also use it too. Thanks!

from grunt-contrib-jshint.

Iristyle avatar Iristyle commented on July 20, 2024

Looks good.. can I suggest prepending the line with a ERROR or WARNING though?

Until this task can emit something that's friendly to Jenkins, regex matches are the only way to capture these inside of the build server right now.

If #13 gets pulled at any point, that can be used... but it looks like its a ways off.

from grunt-contrib-jshint.

dylang avatar dylang commented on July 20, 2024

Great feedback @yoshuawuyts, @shama, @Iristyle.

It sounds like we want improved human readability, but also want machine-readability for tools like Jenkins. Because these two goals are typically incompatible perhaps a more flexible solution is desired.

We could create two output methods and an option to pick which one to use.

Another option is to have a reporter feature simular to Mocha. This would increase the amount of work for this feature considerably (I'm guessing mostly in design of the feature) but it means it could be reusable by other tasks and possibly user-customizable with their own templates.

@cowboy, opinions on this?

from grunt-contrib-jshint.

Iristyle avatar Iristyle commented on July 20, 2024

Yeah, a reporter seems to more or less be the standard approach in a number of tools, like Mocha and Testacular (now Karma).

If I could push out xml that's directly consumable by Jenkins w/out any regex parsing that would be ideal.

See more on this here:
gruntjs/grunt#520

from grunt-contrib-jshint.

greengerong avatar greengerong commented on July 20, 2024

[L1:C1] W097: Use the function form of "use strict".

Did it fixe? I think it must be fixed. Because Angularjs often will add this commont.

from grunt-contrib-jshint.

QuentinFchx avatar QuentinFchx commented on July 20, 2024

awesome

from grunt-contrib-jshint.

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.