-
-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linting: Don't run on excluded files. #638
- Loading branch information
1 parent
4776764
commit 30e75e0
Showing
1 changed file
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30e75e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For my Make JavaScript ignore rule better #636.
For EditorExtensions/Commands/LintFileInvoker.cs#L63,
RunOnAllFilesInProjectAsync()
will only run on build, and #L72 have exclude non project items.For run on save or right click menu item on non-project items, they can be done explicit by user. So I remove the limit from (Combine JsHint and JSCS rule, hack to stop errors #637) 'ShouldIgnore()` at https://github.com/madskristensen/WebEssentials2013/pull/637/files#diff-5455f829157714ebe561d9289a2170ceL43.