microsoft / vscode-jshint

VSCode extension to integrate jshint into VSCode
https://marketplace.visualstudio.com/items?itemName=dbaeumer.jshint
MIT License
72 stars 48 forks source link

Support nested jshint configurations #13

Closed artursmirnov closed 8 years ago

artursmirnov commented 8 years ago

My application has main .jshintrc configuration in root folder, which works just fine. But for tests there is another configuration located at tests/.jshintrc that has a lot of predefs for test helpers. And the extension ignores tests configuration and applies the main one.

The case is common for most Ember CLI apps.

jaysylvester commented 8 years ago

I have a project-level .jshintrc file and then a couple more sprinkled throughout that extend the project config. The project config handles basic formatting that I want to apply to all JS files, and the nested files handle different parts of the app (node.js server-side vs front end static library, which have different browser, node, and predef settings).

This workflow works in other editors, so I'd love to see it in VS Code.

edwin177 commented 8 years ago

+1