duaraghav8 / solium-plugin-security

The Official Security Plugin for Ethlint (formerly Solium)
http://npmjs.com/package/solium-plugin-security
MIT License
44 stars 12 forks source link

Fixed no-fixed to capture out-of-function declarations #29

Closed Cisplatin closed 6 years ago

Cisplatin commented 6 years ago

The errors were coming up because declarations outside of functions were not being caught. Fixed the code so that they are caught.