Skip to content

Commit

Permalink
removed pattern validation
Browse files Browse the repository at this point in the history
doesn't work, see kaelzhang/node-ignore#60
  • Loading branch information
maxwoo-houzz committed May 22, 2020
1 parent 2e25042 commit 15440e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ module.exports = stylelint.createPlugin(ruleName, function (blacklist) {
actual: blacklist,
possible: {
paths: [isString],

// may not work, see https://github.com/kaelzhang/node-ignore/issues/60
patterns: [pattern => ignore.isPathValid(pattern)]
patterns: [isString]
}
}
);
Expand Down

0 comments on commit 15440e5

Please sign in to comment.