Skip to content

Commit

Permalink
fix(eslint): do not add an unignore pattern to the cli command
Browse files Browse the repository at this point in the history
This overrides any ignores placed in a local .eslintignore file
and thus makes it impossible to ignore hidden files with eslint.
  • Loading branch information
varl committed Dec 16, 2019
1 parent f52f5f6 commit 7f0e5da
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tools/eslint.js
Original file line number Diff line number Diff line change
@@ -8,7 +8,6 @@ exports.eslint = ({ files = [], apply = false, config }) => {
'--no-color',
'--report-unused-disable-directives',
'--ignore',
...['--ignore-pattern', '!.*'],
...(config ? ['--config', config] : []),
...(apply ? ['--fix'] : []),
...files,

0 comments on commit 7f0e5da

Please sign in to comment.