Skip to content

Commit

Permalink
fix(filter): specify end of the string explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
mstruebing committed Dec 18, 2017
1 parent ec966c5 commit 275e509
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions src/utils/exclude-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,28 @@ const getDefaultExcludes = () => {
// https://github.com/editorconfig-checker/editorconfig-checker.javascript/issues/18
const getDefaultExcludesRegexp = () => {
return [
'vendor',
'node_modules',
'vendor/',
'node_modules/',
'coverage/',
'.DS_Store/',
'.git/',
'.gif',
'.png',
'.bmp',
'.jpg',
'.svg',
'.ico',
'.lock',
'.eot',
'.woff',
'.woff2',
'.ttf',
'.bak',
'.bin',
'.min.js',
'.min.css',
'.pdf',
'.jpeg'
'.gif$',
'.png$',
'.bmp$',
'.jpg$',
'.svg$',
'.ico$',
'.lock$',
'.eot$',
'.woff$',
'.woff2$',
'.ttf$',
'.bak$',
'.bin$',
'.min.js$',
'.min.css$',
'.pdf$',
'.jpeg$'
];
};

Expand Down

0 comments on commit 275e509

Please sign in to comment.