Skip to content

Commit

Permalink
don't commit no-extend and fix rules, phetsims/phet-core#71
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jul 21, 2022
1 parent 5c16ea3 commit bc6f838
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/grunt/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ module.exports = function( repos, cache, say = false ) {

const cli = new eslint.CLIEngine( {

fix: true, // make this true if you want to fix lint rules, make sure to uncomment the fix output below
fix: false, // make this true if you want to fix lint rules, make sure to uncomment the fix output below

cwd: path.dirname( process.cwd() ),

Expand Down Expand Up @@ -90,7 +90,7 @@ module.exports = function( repos, cache, say = false ) {
const report = cli.executeOnFiles( filteredRepos );

// comment this back in to apply fixes; make sure to set fix: true in the above config
eslint.CLIEngine.outputFixes( report );
// eslint.CLIEngine.outputFixes( report );

// pretty print results to console if any
( report.warningCount || report.errorCount ) && grunt.log.write( cli.getFormatter()( report.results ) );
Expand Down

0 comments on commit bc6f838

Please sign in to comment.