Changelog
1.2.4 (2019-04-08)
no-trailing-whitespace
to warn the user when code, comment or blank lines contain trailing whitespaces. This rule will supply the fix
functionality in a future release.getLines()
sourceCode utility function for rule developers. This method returns the source code split into lines.getComments()
sourceCode utility function for rule developers. This method returns a list of AST Nodes representing comments in the source code.Changelog
1.2.3 (2019-02-11)
solium-disable-previous-line
comment directive.solium-enable
comment directive. See configuring with comments. This feature currently has a limitation which has been documented in Known Issues.no-empty-blocks
to report function declarations with empty bodies. Fallback and payable
functions and payable
constructors are not reported if their body is empty. See #254.quotes
to stop reporting false positives due to brackets enclosing strings (see #240).uppercase
to allow up to 2 leading and trailing underscores for a constant's name.Changelog
1.2.2 (2019-01-13)
.soliumignore
-related warning messages to be more user-friendly.uppercase
rule to allow single-character names, where the character must be an alphabet.indentation
rule to allow Call expression arguments to start with circular bracket (#223).BinaryExpression
position bug in parser that led to #175 & #223.Changelog
1.2.1 (2019-01-01) :sparkler:
fix
functionality to linebreak-style
rule.linebreak-style
rule configuration to default .soliumrc.json
.pragma
statements.constructor
to warn the user when the deprecated style of constructor declaration is being used.--fix-dry-run
option to CLI to allow users to see a git-style diff of the changes the --fix
option will make.getTextOnLine()
to account for both linebreak-styles on both platforms (see issue)solium.readthedocs.io
is deprecated but will receive updates.Changelog
1.2.0 (2018-12-25) :santa:
solium
. All updates will be pushed simultaneously to npm packages solium
and ethlint
. There is no difference between the software being pushed to these packages, but it is highly recommended that you move to the ethlint
npm package.0.5
.ignore
option for function-order
rule (See issue)--debug
option..soliumignore
file. (Thanks to @romaric-juniet)