chavacava
d1e7779818
Merge remote-tracking branch 'upstream/master'
2018-06-24 10:41:13 +02:00
chavacava
b2532b3c33
New rule: modifies-parameter ( #25 )
...
* Adds rule superfluous-else (an extension of indent-error-flow)
* Fix superfluous-else rule struct namming.
* Adds superfuous-else rule to the rules table
* Adds confusing-naming rule
* adds multifile test
* clean-up
* fix config.go
* working version
2018-06-24 17:26:21 +10:00
chavacava
7e89359269
superfuous-else handles more cases ( #24 )
...
* Adds rule superfluous-else (an extension of indent-error-flow)
* Fix superfluous-else rule struct namming.
* Adds superfuous-else rule to the rules table
* Adds confusing-naming rule
* adds multifile test
* clean-up
* fix config.go
* superflous-else now detects "jumps" caused by functions like os.Exit and log.Fatal
2018-06-24 17:24:50 +10:00
chavacava
e0a294505a
fix merge conflicts
2018-06-22 20:29:51 +02:00
chavacava
f8c1094ecd
New rule: get-return ( #23 )
...
* Adds rule superfluous-else (an extension of indent-error-flow)
* Fix superfluous-else rule struct namming.
* Adds superfuous-else rule to the rules table
* Adds confusing-naming rule
* adds multifile test
* clean-up
* clean master
* running version
* isGetter now checks for non lowercase characters
2018-06-22 21:21:09 +10:00
chavacava
b23f923b0e
clean master
2018-06-21 16:43:34 +02:00
Salvador Cavadini
1538d386e6
fix config.go
2018-06-20 13:14:44 +02:00
Salvador Cavadini
eabfc8aae9
Merge branch 'master' of https://github.com/chavacava/revive
2018-06-20 13:12:50 +02:00
Salvador Cavadini
b8d77e5a08
Merge branch 'master' of https://github.com/mgechev/revive
2018-06-20 13:10:53 +02:00
mgechev
a1d3163745
Update the list of contributors
2018-06-14 17:31:32 -07:00
Veniamin Krol
83bd86be4f
Fix typo in README.md ( #21 )
2018-06-13 12:35:38 -07:00
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
Salvador Cavadini
ca1b61fcaa
Merge remote-tracking branch 'upstream/master'
2018-06-13 08:39:06 +02:00
Salvador Cavadini
6ed9d2ca06
clean-up
2018-06-13 08:23:16 +02:00
Salvador Cavadini
b34b9c4861
Merge branch 'master' of https://github.com/mgechev/revive
2018-06-13 07:55:37 +02:00
chavacava
4f2e0613fc
adds multifile test
2018-06-12 06:54:21 +02: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
32df8ca880
Avoid false positives when returning interface values ( #6 )
...
* Use subtests
* Make unexported-return type check
* Avoid false positives when returning interface values
Fixes #5 .
2018-06-11 11:22:33 -07:00
Tamir Duberstein
1b2ffe282e
Improve tests ( #18 )
...
* Use subtests
* Make unexported-return type check
2018-06-11 11:22:06 -07:00
chavacava
97315129a9
Adds confusing-naming rule
2018-06-10 13:25:46 +02:00
mgechev
fb3c2d09af
Update list of contributors
2018-06-09 13:18:47 -07:00
chavacava
b7bb0314ca
resolves conflict in README.md
2018-06-09 18:25:45 +02:00
mgechev
8198433610
Update readme with vim support
2018-06-08 16:04:26 -07:00
mgechev
1b84ff83dd
Add missing rule in config
2018-06-08 14:22:21 -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
mgechev
dc6767b811
Add toc
2018-06-08 10:28:17 -07:00
mgechev
05db4673db
Add list of contributors
2018-06-08 10:24:28 -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
Salvador Cavadini
409f3e1179
Adds superfuous-else rule to the rules table
2018-06-08 13:12:29 +02:00
Salvador Cavadini
336f3e0750
Fix superfluous-else rule struct namming.
2018-06-07 13:54:43 +02:00
Salvador Cavadini
ee3547ea90
Merge remote-tracking branch 'upstream/master'
2018-06-07 13:30:17 +02:00
Salvador Cavadini
4150d79684
Adds rule superfluous-else (an extension of indent-error-flow)
2018-06-07 13:27:02 +02:00
Minko Gechev
5a0635ddfd
Merge pull request #11 from paul-at-start/master
...
Cyan for readability (better contrast)
2018-06-06 11:36:56 -07:00
Paul Stølen
378f2d32b5
Cyan for readability
...
- Dark blue on black is not very readable on a lot of screens.
2018-06-06 15:23:12 +02:00
Minko Gechev
abf02d70f2
Merge pull request #10 from mgechev/miniko/add-code-of-conduct-1
...
Create CODE_OF_CONDUCT.md
2018-06-03 10:59:02 -07:00
Minko Gechev
7d587ab92b
Create CODE_OF_CONDUCT.md
2018-06-03 10:58:53 -07:00
Minko Gechev
e27206765b
Update issue templates
2018-06-03 10:58:02 -07:00
Minko Gechev
ccdb1855bd
Merge pull request #9 from mgechev/minko/add-mit-license
...
License under MIT
2018-06-03 10:52:33 -07:00
Minko Gechev
c58fbd34a3
Create LICENSE
2018-06-03 10:52:09 -07:00
Minko Gechev
99d0130dc6
Merge pull request #8 from mgechev/minko/unexported-return-test
...
Add test case for unexported-return
2018-06-02 10:21:57 -07:00
mgechev
fbc8d08401
Add docs
2018-06-02 10:14:21 -07:00
mgechev
67d38b3b9f
Add test case for unexported-return
2018-06-02 09:45:19 -07:00
mgechev
f74d3bd5ee
Update readme
2018-06-01 11:28:50 -07:00
mgechev
a4da5361d2
Update the documentation for comment annotations
...
Fix #1
2018-06-01 10:54:30 -07:00
mgechev
a6c7415c67
Update documentation for generated files
...
Related to #4
2018-06-01 10:30:40 -07:00
Minko Gechev
6182489121
Merge pull request #3 from mgechev/minko/optional-type-checking
...
Introduce optional type checking
2018-06-01 07:16:16 -07:00
mgechev
1686f0b237
Introduce optional type checking
...
Enable optional type checking.
2018-05-31 21:43:02 -07:00
mgechev
8e4c7821fd
Update with accurate stats
2018-05-31 20:00:04 -07:00
mgechev
ab618bf2c4
Update readme
2018-05-31 19:53:26 -07:00
Minko Gechev
94255827bf
Merge pull request #2 from mgechev/minko/type-checking
...
Fix package level type checking
2018-05-31 19:51:02 -07:00