Solhint Versions Save

Solhint is an open-source project to provide a linting utility for Solidity code.

v2.0.0-beta.2

5 years ago

This is a beta version of Solhint 2.0. This is a major version change, with some breaking changes but also with a lot of new stuff.

The three main changes are:

  • Rules are disabled by default. This means that you have to explicitly enable each rule that you want.
  • Since enabling a lot of rules may be cumbersome, we also added shareable configs. These are npm packages that start with solhint-config- and that allow you to extend to configuration from another one, and also to share a configuration between different projects. You can learn more here.
  • We also added support for plugins. Similar to shareable configs, plugins are npm packages that start with solhint-plugin-. You can learn more about plugins here.

To try it, install solhint@next:

npm install -g solhint@next

v1.4.0

5 years ago

Changelog:

  1. Add support for constructor and emit event syntax (#40)
  2. Add --quiet, --max-warnings and --ignore-path flags (#55, #57, #58)
  3. Add experimental prettier support (#72)

v1.1.10

6 years ago

Release Changelog:

  1. Add support of ignore files #18
  2. Improve the ident validation logic #25
  3. Throw error if config is not valid JSON #26
  4. space-after-comma error when ommiting vars in tuple assignment #23
  5. Scientific notation is not supported #21

v1.1.9

6 years ago

Release Changelog:

  1. single word constant variables trigger snake case error #11
  2. Add vim plugin to documentation #15
  3. func-order confused by modifiers and constructors. #13

v1.1.8

6 years ago

List of Changes:

  1. The byte keyword is not recognized as a keyword in inline assembly. #9
  2. Add placeholder statement to Solhint grammar #10

v1.1.7

6 years ago

List of Changes:

  • Support of stateMutability keywords (pure, view, etc.) enhancement good first issue #1
  • Change severity of compiler fixed issue to warn enhancement #4
  • Correct formatting of auto-created configuration file enhancement #3
  • Do not create configuration file when it already exists in current folder #2

v1.1.6

6 years ago