Skip to content

Commit

Permalink
deleted useless line and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dbale-altoros committed Feb 7, 2023
1 parent 62e9eb9 commit 0ced110
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/rules/best-practises/no-console.js
Expand Up @@ -17,11 +17,11 @@ const meta = {
},
{
description: 'No hardhat/console.sol import statements',
code: 'import "hardhat/console.sol"', // eslint-disable-line
code: 'import "hardhat/console.sol"',
},
{
description: 'No forge-std console.sol & console2.sol import statements',
code: 'import "forge-std/consoleN.sol"', // eslint-disable-line
code: 'import "forge-std/consoleN.sol"',
},
],
},
Expand All @@ -39,7 +39,6 @@ class NoConsoleLogChecker extends BaseChecker {
}

ImportDirective(node) {
this.isAnImport(node)
if (this.isAnImport(node)) {
this.error(node, 'Unexpected import of console file')
}
Expand Down

0 comments on commit 0ced110

Please sign in to comment.