diff --git a/README.md b/README.md index 5af89c2..4de7dae 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ projects `package.json` file. ### Ignoring Files -The paths `node_modules/**`, `*.min.js`, `bundle.js`, `coverage/**`, hidden files/folders +The paths `node_modules/**`, `*.min.js`, `coverage/**`, hidden files/folders (beginning with `.`), and all patterns in a project's root `.gitignore` file are automatically ignored. @@ -152,7 +152,6 @@ Some files are ignored by default: ```js var DEFAULT_IGNORE = [ '**/*.min.js', - '**/bundle.js', 'coverage/**', 'node_modules/**', 'vendor/**' diff --git a/bin/cmd.js b/bin/cmd.js index 1dadc1a..6b46810 100755 --- a/bin/cmd.js +++ b/bin/cmd.js @@ -53,7 +53,7 @@ Usage: If FILES is omitted, all JavaScript source files (*.js, *.jsx, *.mjs, *.cjs) in the current working directory are checked, recursively. - Certain paths (node_modules/, coverage/, vendor/, *.min.js, bundle.js, and + Certain paths (node_modules/, coverage/, vendor/, *.min.js, and files/folders that begin with '.' like .git/) are automatically ignored. Paths in a project's root .gitignore file are also automatically ignored.