1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-24 08:32:22 +02:00
Commit Graph

32 Commits

Author SHA1 Message Date
SalvadorC
93b26c7949
adds "exclude" knob in configuration (#505) 2021-03-20 15:43:44 -07:00
SalvadorC
50f01f660d
fix issue 470 (#477) 2020-10-29 15:11:52 +02:00
Tymoteusz Blazejczyk
2e98c7c63a fix(color): moved global color calls to separate functions
There is an initialization order issue when forcing colorizing.

Every calls from the fatich/color package must be done by a function
not during global variable initialization.
2020-05-14 14:49:30 -07:00
SalvadorC
55cfae63e9 Conf reason rule disabling (#193)
* adds support for comments when enabling/disabling

* adds config flag to require disabling reason

* Update lint/file.go

adds code fmt suggestion by @mgechev

Co-Authored-By: Minko Gechev <mgechev@gmail.com>

* moves regexp compilation out of the function
fix typo in condition

* adds support for comments when enabling/disabling

* skips incomplete directives and generate a failure

* adds _directive_ concept to cope with specify-disable-reason

* adds doc
gofmt

* fixes severity is ignored
2019-08-02 08:21:33 -07:00
mgechev
64636caedd
Fix package level type checking 2018-05-31 19:49:39 -07:00
mgechev
1899499017
Update logo 2018-05-26 15:29:05 -07:00
mgechev
31b194f9bf Update the error code handling 2018-02-03 19:33:14 -08:00
mgechev
837a85713b Update failures 2018-02-02 13:11:40 -05:00
mgechev
cf63744a6a Fix formatter and output 2018-01-27 23:03:07 -08: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
a227153bc2 Improve the cli formatter 2018-01-27 11:52:36 -08:00
mgechev
22d1e33541 Add help 2018-01-26 20:57:51 -08:00
mgechev
5ec3daa762 API improvements 2018-01-26 20:45:17 -08:00
mgechev
466e9339e4 Fix issues and add improvements 2018-01-26 20:34:20 -08:00
mgechev
dec0ecdc47 Improve main 2018-01-26 20:25:22 -08:00
mgechev
9f437c09a5 Basic configuration 2018-01-26 20:20:49 -08:00
mgechev
faa19bd4c1 Update main.go 2018-01-25 11:47:39 -08:00
mgechev
6c220f5a65 Fix exit codes 2018-01-24 15:46:43 -08:00
mgechev
f926547659 Refactoring 2018-01-24 15:44:03 -08:00
mgechev
4f31c1639f Implement severity 2018-01-24 15:41:40 -08:00
mgechev
cc249b6cfa Add extra rule 2018-01-23 23:01:49 -08:00
mgechev
25cfe541d2 Update formatters 2018-01-23 18:19:06 -08:00
mgechev
98dce265c6 Refactoring 2018-01-21 18:04:41 -08:00
mgechev
8f8a8b5587 Implement extra rule 2017-11-19 18:23:01 -08:00
mgechev
5d652029ae Refactor revive 2017-11-19 17:18:16 -08:00
mgechev
5bdfe48c09 Update disabled intervals 2017-09-01 21:46:54 -07:00
mgechev
7b970568f5 Implement initial basic version of enabling/disabling rules 2017-09-01 21:03:10 -07:00
mgechev
1cdf90891b Refactoring 2017-08-29 10:47:29 -07:00
mgechev
555d51617f Refactor 2017-08-27 21:02:59 -07:00
mgechev
5b1d2b944c feat: implement extensible model 2017-08-27 20:53:12 -07:00
mgechev
891f525abc Initial commit 2017-07-04 19:37:19 +03:00