Closed piotr-cz closed 9 years ago
So in this example, assets/components/dashboard.js would use the .jshintrc in assets, right?
Yes, it's supposed to but doesn't.
Ok. I just went through debug and it loads first .jshintrc
it finds in the directory tree. @piotr-cz, how do you decide it does not work? In other words, what is that you see in the output does not match your expectations? JSHint since version 2.5.0 does not report any formatting error. Do you expect it to?
I'll check again. I was declaring 'angular' as a global in the .jshintrc file but I've got errors about it not being declared.
Okay, I had an invalid json structure (coma at the last objects' property). Feature seems to work completely fine.
Maybe there could be a note in the Problems tab like: cannot load .jshintrc file: invalid json format or something alike
GIven as structure
The
.jshintrc
files are not being loaded in Brackets-JSHint extension.See JSHint documentation