Skip to content

Commit

Permalink
add => { return as bad text and fix usages, phetsims/chipper#790
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Sep 19, 2019
1 parent d2c7d9e commit 16a9161
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions js/grunt/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ module.exports = function( repos, cache, say = false ) {

// filter out all unlintable repo. An unlintable repo is one that has no `js` in it, so it will fail when trying to
// lint it. Also, if the user doesn't have some repos checked out, those should be skipped
const filteredRepos = repos.filter( repo => {
return NO_LINT_REPOS.indexOf( repo ) < 0 && fs.existsSync( '../' + repo );
} );
const filteredRepos = repos.filter( repo => NO_LINT_REPOS.indexOf( repo ) < 0 && fs.existsSync( '../' + repo ) );

const cli = new eslint.CLIEngine( {

Expand Down

0 comments on commit 16a9161

Please sign in to comment.