Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

jshint should lint the tests directory by default #127

Open
tomconnell-wf opened this issue Jan 22, 2015 · 0 comments
Open

jshint should lint the tests directory by default #127

tomconnell-wf opened this issue Jan 22, 2015 · 0 comments
Labels

Comments

@tomconnell-wf
Copy link
Member

I was surprised when wGulp did not lint my specs. My expectation came from using wf-grunt, were I believe tests are linted by default. I think it is probably a happy default to test specs, because with a bad enough syntax error, jasmine will silently not run the spec file. CI could succeed with a whole suite of tests broken. That would be bad. I don't think there are large downsides to linting unit tests. Maybe people don't want style enforced on tests?

Here's a quick hack of how to maybe do it. #128

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant