chavacava
4e19174270
Fix issue19 ( #20 )
...
* Adds rule superfluous-else (an extension of indent-error-flow)
* Fix superfluous-else rule struct namming.
* Adds superfuous-else rule to the rules table
* fix issue 19
2018-06-13 07:01:31 -07:00
chavacava
c9bde6c503
empty-block: ignore checking blocks of funcs and func literals ( #17 )
...
* Adds rule superfluous-else (an extension of indent-error-flow)
* Fix superfluous-else rule struct namming.
* Adds superfuous-else rule to the rules table
* Modifies empty-block rule to ignore bodies of
func literals and funcs
* add test cases on functions with a receiver for completeness
2018-06-11 12:08:58 -07:00
Tamir Duberstein
1b2ffe282e
Improve tests ( #18 )
...
* Use subtests
* Make unexported-return type check
2018-06-11 11:22:06 -07:00
chavacava
1fa5046357
Adds new rule empty-block ( #14 )
...
* Adds rule superfluous-else (an extension of indent-error-flow)
* initial (non functional) version
* empty-block working version
* adds tests for empty-block rule
* Adds empty-block to the rules table
* code clean-up
2018-06-08 12:41:49 -07:00
chavacava
cbe45ffc79
Adds rule superfluous-else (an extension of indent-error-flow) ( #13 )
...
* Adds rule superfluous-else (an extension of indent-error-flow)
* Fix superfluous-else rule struct namming.
* Adds superfuous-else rule to the rules table
2018-06-08 07:06:29 -07:00
mgechev
67d38b3b9f
Add test case for unexported-return
2018-06-02 09:45:19 -07:00
mgechev
a4da5361d2
Update the documentation for comment annotations
...
Fix #1
2018-06-01 10:54:30 -07:00
mgechev
55145d7427
Run var-naming on test files
2018-05-30 17:41:02 -07:00
mgechev
6c9ea8cf2d
Refactoring and renaming
2018-05-26 21:28:31 -07:00
mgechev
8c53dad5ec
Rename and docs
2018-05-26 16:14:36 -07:00
mgechev
655402f527
Add tests for the arguments limit
2018-02-04 15:10:35 -08:00
mgechev
8187cdf97d
Refactoring of the tests
2018-02-04 15:02:45 -08:00
mgechev
b5fc0eaffc
Add extra rule
2018-02-04 14:51:19 -08:00
mgechev
2ff1cccfd2
Add new rule
2018-02-02 13:32:03 -05:00
mgechev
1870854374
Improvements
2018-01-27 16:37:30 -08:00
mgechev
8746067321
Implement command line arguments
2018-01-27 16:22:17 -08:00
mgechev
0b310191f2
Improve comments
2018-01-26 19:52:29 -08:00
mgechev
6b50d1f05c
Improve tests
2018-01-26 19:51:56 -08:00
mgechev
e2e5db7203
Add cyclomatic complexity and improve tests
2018-01-26 19:48:44 -08:00
mgechev
3c3a6b538d
Add all built-in rules
2018-01-25 11:34:38 -08:00
mgechev
a3c28563b7
Add increment decrement
2018-01-25 11:16:28 -08:00
mgechev
d6a6d6290d
Add receiver name
2018-01-25 11:12:27 -08:00
mgechev
f9a08cd60f
Add error rules
2018-01-25 11:06:56 -08:00
mgechev
f35fad066d
Add errorf rule
2018-01-25 10:42:39 -08:00
mgechev
7d066071ce
Add rules
2018-01-25 10:35:27 -08:00
mgechev
b2e276ddf8
Add names
2018-01-24 15:17:19 -08:00
mgechev
cc249b6cfa
Add extra rule
2018-01-23 23:01:49 -08:00
mgechev
cac7f0e036
Add extra rules and tests
2018-01-23 19:13:02 -08:00
mgechev
a955825a28
Add tests
2018-01-23 18:46:13 -08:00