File tree Expand file tree Collapse file tree 3 files changed +1
-151
lines changed
lib/rules/gas-consumption Expand file tree Collapse file tree 3 files changed +1
-151
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ module.exports = Object.freeze({
25
25
} ,
26
26
] ,
27
27
'constructor-syntax' : 'warn' ,
28
- 'gas-struct-packing' : 'warn' ,
29
28
'gas-calldata-parameters' : 'warn' ,
30
29
'gas-increment-by-one' : 'warn' ,
31
30
'gas-indexed-events' : 'warn' ,
32
31
'gas-multitoken1155' : 'warn' ,
33
32
'gas-small-strings' : 'warn' ,
33
+ 'gas-struct-packing' : 'warn' ,
34
34
'comprehensive-interface' : 'warn' ,
35
35
quotes : [ 'error' , 'double' ] ,
36
36
'const-name-snakecase' : 'warn' ,
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ title: "Rule Index of Solhint"
29
29
30
30
| Rule Id | Error | Recommended | Deprecated |
31
31
| ----------------------------------------------------------------------------- | ----------------------------------------------------------------- | ----------- | ---------- |
32
- | [ gas-struct-packing] ( ./rules/gas-consumption/gas-struct-packing.md ) | Suggest to re-arrange struct packing order when it is inefficient | | |
33
32
| [ gas-calldata-parameters] ( ./rules/gas-consumption/gas-calldata-parameters.md ) | Suggest calldata keyword on function arguments when read only | | |
34
33
| [ gas-increment-by-one] ( ./rules/gas-consumption/gas-increment-by-one.md ) | Suggest incrementation by one like this ++i instead of other type | | |
35
34
| [ gas-indexed-events] ( ./rules/gas-consumption/gas-indexed-events.md ) | Suggest indexed arguments on events for uint, bool and address | | |
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments