Skip to content

Commit

Permalink
remove console statement and some extra spacing, see #1079
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Dec 16, 2021
1 parent 5b62cf2 commit 92fe672
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions eslint/rules/default-import-match-filename.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/* eslint-disable copyright*/

/**
*
*
* Adapted/copied from rule in https://github.com/minseoksuh/eslint-plugin-consistent-default-export-name/blob/de812b2194ca9435920776119a7f732b596b4d8b/lib/rules/default-import-match-filename.js
* Simplified and striped of some logic not needed for PhET's context.
*
Expand Down Expand Up @@ -145,7 +143,6 @@ module.exports = function( context ) {
if (
!isCompatible( defaultImportName, filename )
) {
console.log( node.source.value );
context.report( {
node: defaultImportSpecifier,
message: `Default import name does not match filename "${filename}".`
Expand Down

0 comments on commit 92fe672

Please sign in to comment.