Skip to content

Commit

Permalink
Linting fix to not rely on no-list, see #726
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Mar 29, 2019
1 parent 8bb209d commit 1efe72f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion js/grunt/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,18 @@ module.exports = function( grunt ) {
const repos = getPhetLibs( repo );

// TODO: don't use this from chipper! see https://github.com/phetsims/chipper/issues/726
const eslintBlacklist = fs.readFileSync( '../perennial/data/no-lint', 'utf-8' ).trim().split( '\n' ).map( sim => sim.trim() );
const eslintBlacklist = [
'babel',
'eliot',
'phet-android-app',
'phet-info',
'phet-io-wrapper-arithmetic',
'phet-io-wrapper-hookes-law-energy',
'phet-ios-app',
'sherpa',
'smithers',
'tasks'
];

// 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 phet-io* repos checked out, those should be skipped
Expand Down

0 comments on commit 1efe72f

Please sign in to comment.