Comparing version 1.1.7 to 1.1.8
@@ -44,4 +44,3 @@ --- | ||
\* \- All security rules implemented according [ConsenSys Guide for Smart Contracts]( | ||
https://github.com/ConsenSys/smart-contract-best-practices#recommendations-for-smart-contract-security-in-solidity) | ||
\* \- All security rules implemented according [ConsenSys Guide for Smart Contracts](https://consensys.github.io/smart-contract-best-practices/recommendations/) | ||
@@ -48,0 +47,0 @@ ### Style Guide Rules |
@@ -1,2 +0,2 @@ | ||
// Generated from ./lib/grammar/Solidity.g4 by ANTLR 4.7 | ||
// Generated from ./Solidity.g4 by ANTLR 4.7 | ||
// jshint ignore: start | ||
@@ -140,17 +140,17 @@ var antlr4 = require('antlr4/index'); | ||
// Enter a parse tree produced by SolidityParser#structVariableDeclaration. | ||
SolidityListener.prototype.enterStructVariableDeclaration = function(ctx) { | ||
// Enter a parse tree produced by SolidityParser#structDefinition. | ||
SolidityListener.prototype.enterStructDefinition = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#structVariableDeclaration. | ||
SolidityListener.prototype.exitStructVariableDeclaration = function(ctx) { | ||
// Exit a parse tree produced by SolidityParser#structDefinition. | ||
SolidityListener.prototype.exitStructDefinition = function(ctx) { | ||
}; | ||
// Enter a parse tree produced by SolidityParser#structDefinition. | ||
SolidityListener.prototype.enterStructDefinition = function(ctx) { | ||
// Enter a parse tree produced by SolidityParser#structVariableDeclaration. | ||
SolidityListener.prototype.enterStructVariableDeclaration = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#structDefinition. | ||
SolidityListener.prototype.exitStructDefinition = function(ctx) { | ||
// Exit a parse tree produced by SolidityParser#structVariableDeclaration. | ||
SolidityListener.prototype.exitStructVariableDeclaration = function(ctx) { | ||
}; | ||
@@ -195,20 +195,2 @@ | ||
// Enter a parse tree produced by SolidityParser#modifierList. | ||
SolidityListener.prototype.enterModifierList = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#modifierList. | ||
SolidityListener.prototype.exitModifierList = function(ctx) { | ||
}; | ||
// Enter a parse tree produced by SolidityParser#stateMutability. | ||
SolidityListener.prototype.enterStateMutability = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#stateMutability. | ||
SolidityListener.prototype.exitStateMutability = function(ctx) { | ||
}; | ||
// Enter a parse tree produced by SolidityParser#eventDefinition. | ||
@@ -241,2 +223,20 @@ SolidityListener.prototype.enterEventDefinition = function(ctx) { | ||
// Enter a parse tree produced by SolidityParser#modifierList. | ||
SolidityListener.prototype.enterModifierList = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#modifierList. | ||
SolidityListener.prototype.exitModifierList = function(ctx) { | ||
}; | ||
// Enter a parse tree produced by SolidityParser#stateMutability. | ||
SolidityListener.prototype.enterStateMutability = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#stateMutability. | ||
SolidityListener.prototype.exitStateMutability = function(ctx) { | ||
}; | ||
// Enter a parse tree produced by SolidityParser#indexedParameterList. | ||
@@ -350,2 +350,11 @@ SolidityListener.prototype.enterIndexedParameterList = function(ctx) { | ||
// Enter a parse tree produced by SolidityParser#elementaryTypeName. | ||
SolidityListener.prototype.enterElementaryTypeName = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#elementaryTypeName. | ||
SolidityListener.prototype.exitElementaryTypeName = function(ctx) { | ||
}; | ||
// Enter a parse tree produced by SolidityParser#block. | ||
@@ -414,17 +423,17 @@ SolidityListener.prototype.enterBlock = function(ctx) { | ||
// Enter a parse tree produced by SolidityParser#inlineAssemblyStatement. | ||
SolidityListener.prototype.enterInlineAssemblyStatement = function(ctx) { | ||
// Enter a parse tree produced by SolidityParser#doWhileStatement. | ||
SolidityListener.prototype.enterDoWhileStatement = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#inlineAssemblyStatement. | ||
SolidityListener.prototype.exitInlineAssemblyStatement = function(ctx) { | ||
// Exit a parse tree produced by SolidityParser#doWhileStatement. | ||
SolidityListener.prototype.exitDoWhileStatement = function(ctx) { | ||
}; | ||
// Enter a parse tree produced by SolidityParser#doWhileStatement. | ||
SolidityListener.prototype.enterDoWhileStatement = function(ctx) { | ||
// Enter a parse tree produced by SolidityParser#placeholderStatement. | ||
SolidityListener.prototype.enterPlaceholderStatement = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#doWhileStatement. | ||
SolidityListener.prototype.exitDoWhileStatement = function(ctx) { | ||
// Exit a parse tree produced by SolidityParser#placeholderStatement. | ||
SolidityListener.prototype.exitPlaceholderStatement = function(ctx) { | ||
}; | ||
@@ -487,11 +496,2 @@ | ||
// Enter a parse tree produced by SolidityParser#elementaryTypeName. | ||
SolidityListener.prototype.enterElementaryTypeName = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#elementaryTypeName. | ||
SolidityListener.prototype.exitElementaryTypeName = function(ctx) { | ||
}; | ||
// Enter a parse tree produced by SolidityParser#expression. | ||
@@ -551,2 +551,29 @@ SolidityListener.prototype.enterExpression = function(ctx) { | ||
// Enter a parse tree produced by SolidityParser#tupleExpression. | ||
SolidityListener.prototype.enterTupleExpression = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#tupleExpression. | ||
SolidityListener.prototype.exitTupleExpression = function(ctx) { | ||
}; | ||
// Enter a parse tree produced by SolidityParser#elementaryTypeNameExpression. | ||
SolidityListener.prototype.enterElementaryTypeNameExpression = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#elementaryTypeNameExpression. | ||
SolidityListener.prototype.exitElementaryTypeNameExpression = function(ctx) { | ||
}; | ||
// Enter a parse tree produced by SolidityParser#inlineAssemblyStatement. | ||
SolidityListener.prototype.enterInlineAssemblyStatement = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#inlineAssemblyStatement. | ||
SolidityListener.prototype.exitInlineAssemblyStatement = function(ctx) { | ||
}; | ||
// Enter a parse tree produced by SolidityParser#assemblyBlock. | ||
@@ -642,8 +669,8 @@ SolidityListener.prototype.enterAssemblyBlock = function(ctx) { | ||
// Enter a parse tree produced by SolidityParser#assemblySwitch. | ||
SolidityListener.prototype.enterAssemblySwitch = function(ctx) { | ||
// Enter a parse tree produced by SolidityParser#assemblyFunctionDefinition. | ||
SolidityListener.prototype.enterAssemblyFunctionDefinition = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#assemblySwitch. | ||
SolidityListener.prototype.exitAssemblySwitch = function(ctx) { | ||
// Exit a parse tree produced by SolidityParser#assemblyFunctionDefinition. | ||
SolidityListener.prototype.exitAssemblyFunctionDefinition = function(ctx) { | ||
}; | ||
@@ -661,17 +688,17 @@ | ||
// Enter a parse tree produced by SolidityParser#assemblyFunctionDefinition. | ||
SolidityListener.prototype.enterAssemblyFunctionDefinition = function(ctx) { | ||
// Enter a parse tree produced by SolidityParser#assemblyFor. | ||
SolidityListener.prototype.enterAssemblyFor = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#assemblyFunctionDefinition. | ||
SolidityListener.prototype.exitAssemblyFunctionDefinition = function(ctx) { | ||
// Exit a parse tree produced by SolidityParser#assemblyFor. | ||
SolidityListener.prototype.exitAssemblyFor = function(ctx) { | ||
}; | ||
// Enter a parse tree produced by SolidityParser#assemblyFor. | ||
SolidityListener.prototype.enterAssemblyFor = function(ctx) { | ||
// Enter a parse tree produced by SolidityParser#assemblySwitch. | ||
SolidityListener.prototype.enterAssemblySwitch = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#assemblyFor. | ||
SolidityListener.prototype.exitAssemblyFor = function(ctx) { | ||
// Exit a parse tree produced by SolidityParser#assemblySwitch. | ||
SolidityListener.prototype.exitAssemblySwitch = function(ctx) { | ||
}; | ||
@@ -716,20 +743,2 @@ | ||
// Enter a parse tree produced by SolidityParser#tupleExpression. | ||
SolidityListener.prototype.enterTupleExpression = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#tupleExpression. | ||
SolidityListener.prototype.exitTupleExpression = function(ctx) { | ||
}; | ||
// Enter a parse tree produced by SolidityParser#elementaryTypeNameExpression. | ||
SolidityListener.prototype.enterElementaryTypeNameExpression = function(ctx) { | ||
}; | ||
// Exit a parse tree produced by SolidityParser#elementaryTypeNameExpression. | ||
SolidityListener.prototype.exitElementaryTypeNameExpression = function(ctx) { | ||
}; | ||
// Enter a parse tree produced by SolidityParser#numberLiteral. | ||
@@ -736,0 +745,0 @@ SolidityListener.prototype.enterNumberLiteral = function(ctx) { |
{ | ||
"name": "solhint", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "Solidity Code Linter", | ||
@@ -5,0 +5,0 @@ "main": "solhint.js", |
@@ -138,3 +138,3 @@ ## Solhint Project | ||
\* \- All security rules implemented according [ConsenSys Guide for Smart Contracts]( | ||
https://github.com/ConsenSys/smart-contract-best-practices#recommendations-for-smart-contract-security-in-solidity) | ||
https://consensys.github.io/smart-contract-best-practices/recommendations/) | ||
@@ -195,2 +195,2 @@ ### Style Guide Rules | ||
MIT | ||
MIT |
@@ -12,3 +12,3 @@ #!/usr/bin/env node | ||
program | ||
.version('1.1.7'); | ||
.version('1.1.8'); | ||
@@ -15,0 +15,0 @@ program |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1205221
21095
195