Skip to content

v1.1.7

Choose a tag to compare

@duaraghav8 duaraghav8 released this 30 Apr 10:20
· 115 commits to master since this release

Solium v1.1.7 introduces 3 new lint rules:

  • no-constant: Recommends replacing constant modifier in function declarations with view, since constant will be deprecated starting solidity v0.5.0. This rule provides automatic fixing capability.
  • value-in-payable: Ensures that functions containing msg.value are declared payable.
  • max-len - Enforces an upper limit on the number of characters per line of code. Defaults to 145, but is customisable via .soliumrc.json.

The rule pragma-on-top can now fix experimental pragma statement positions.

Solium's parser and all rules (except for indentation and lbrace) now support the constructor() declaration syntax. The rules that don't yet support this syntax don't produce any false positives. The CLI introduces the --debug flag that can be used by developers to view stack traces for details about errors. Starting 1.1.7, Solium also displays the list of its backers on README.md.

This release saw significant contributions from @mushketyk & @ElOpio