Skip to content

Commit

Permalink
fix: ignore node modules (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey authored Apr 11, 2019
1 parent 516279f commit 0187dd3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ if (config.jsdoc === false) {
rules['jsdoc/newline-after-description'] = 'off';
}

config.ignore = config.ignore || [];
config.ignore.push('node_modules');

const cli = new CLIEngine({
cwd: process.cwd(),
baseConfig: require(path.join(__dirname, 'eslintrc.json')),
Expand Down

0 comments on commit 0187dd3

Please sign in to comment.