We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e872e0f commit 3b04df6Copy full SHA for 3b04df6
src/scripts/lint.js
@@ -43,9 +43,7 @@ if (filesGiven) {
43
// we need to take all the flag-less arguments (the files that should be linted)
44
// and filter out the ones that aren't js files. Otherwise json or css files
45
// may be passed through
46
- args = args.filter(
47
- a => !parsedArgs._.includes(a) || /\.jsx?$|\.tsx?$/.test(a),
48
- )
+ args = args.filter(a => !parsedArgs._.includes(a) || /\.jsx?$/.test(a))
49
}
50
51
const result = spawn.sync(
0 commit comments