Skip to content

Request to warn only severe errors (like syntax) #45

@SarahIluvatariel

Description

@SarahIluvatariel

I've noticed that the built-in jshint sometimes differentiates between errors and warnings. (Although it's a little inconsistent/buggy. And then it reports them all as warnings in the end.) So...

I would love to be able to configure (quickly toggle) the severity level of jshint-eclipse so that it only reports the more severe errors (like syntax errors). Or, alternatively, to report severe javascript errors as eclipse errors and less severe ones as eclipse warnings.

This would probably require a modification to the built-in jshint...

Personally, I use VIM for my javascript needs, and it hooks in to jshint.js (using my modified version of the eclim plugin) to validate and display warnings. So I've also modified jshint.js to already do this (differentiate between errors and warnings) for my configuration of VIM. But the rest of the team of developers I work with uses eclipse. So I thought it might be useful for them, too.

(By the way, thanks for your excellent project! Jshint-Eclipse has come in very handy for us. :) )

(Also, I was going to attempt to create a fork of your project to do this, but I couldn't figure out how to build it. Keep getting errors. Any specific instructions for building and testing jshint-eclipse? I'm a newbie eclipse-plugin developer.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions