Brackets-InteractiveLinter icon indicating copy to clipboard operation
Brackets-InteractiveLinter copied to clipboard

Add Support for .jshintignore

Open johnhidey opened this issue 11 years ago • 4 comments

The jsHint library has support for .jshintignore file.

This file must be specified at the root of the project and only the root. This is unlike the .jshintrc file which can be at any level and have their configuration honored. The .jshintignore file just specifies the file/directorys to be ignored when linting.

Sample .jshintignore file contents

build/
vendor/
app/require.js  

Would love to see support for .jshintignore in Interactive Linter. Loving this brackets extension so far and this is just one feature that I can see that is missing right now. Keep up the great work @MiguelCastillo

johnhidey avatar Jun 22 '14 02:06 johnhidey

@MiguelCastillo , I know you are looking into the issue #26 that I submitted. I just wanted to get this feature documented before it slipped through the cracks.

johnhidey avatar Jun 22 '14 02:06 johnhidey

@johnhidey This is great! Let me read up a bit on it... If jshint supports this, then it should be somewhat straight forward to add this feature. Thanks for the info

MiguelCastillo avatar Jun 22 '14 13:06 MiguelCastillo

@MiguelCastillo here is little bit of sparse documentation I can find on it. http://www.jshint.com/docs/cli/

johnhidey avatar Jun 22 '14 16:06 johnhidey

Any progress on this so far, guys ? I'd love to have brackets ignore my uglified scripts and not bring up the annoying panel with JSHint violations when I occasionally visit the uglified files out of curiosity :)

shardool avatar Sep 26 '15 05:09 shardool