Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added some flags to fnmatch call, updated .jshintignore

  • Loading branch information...
commit 893419205e34963a9aa0de26130dde01b796c344 1 parent e65b2f9
Brent Lintner brentlintner authored
Showing with 4 additions and 4 deletions.
  1. +3 −3 .jshintignore
  2. +1 −1  lib/hint.js
6 .jshintignore
View
@@ -1,3 +1,3 @@
-node_modules/*
-packages/*
-.git/*
+node_modules
+packages
+.git
2  lib/hint.js
View
@@ -34,7 +34,7 @@ function _lint(file, results, config, data) {
function _shouldIgnore(somePath, ignore) {
return ignore.some(function (ignorePath) {
- return glob.fnmatch(ignorePath, somePath, glob.FNM_PATHNAME);
+ return glob.fnmatch(ignorePath, somePath, ~(glob.FNM_PATHNAME & glob.FNM_CASEFOLD));
});
}
Please sign in to comment.
Something went wrong with that request. Please try again.