1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-28 08:49:11 +02:00
revive/testdata/golint
Fagim Sadykov 8f9edc9fe7
#1002 - add "checkPublicInterface" option to "exported" rule to allow check documentation on public methods on public interfaces (#1003)
* [var-naming] handle private uppercased const

* FEATURE #1002 - "checkPublicInterface" option for "exported" rule - to check public interface method comments

* fix exported #1002 for ast.Ident

* fix exported #1002 for ast.Ident 2

* go fmt applyed

* #1002 update documentation on `exported` rule

* refactor `exported` rule configuration logic

* test and review fixes

---------

Co-authored-by: fregin <freginpanklinshtern@gmail.com>
2024-07-30 10:36:03 +02:00
..
blank-import-lib.go Ignore blank import of embed if embed is actually used in the file (#501) 2021-03-06 14:04:57 +01:00
blank-import-with-embed.go Ignore blank import of embed if embed is actually used in the file (#501) 2021-03-06 14:04:57 +01:00
const-block.go fix issue #691 (#700) 2022-06-28 18:14:26 +03:00
context-keys-type.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
docs_test.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
error-naming.go fix issue #691 (#700) 2022-06-28 18:14:26 +03:00
error-return.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
error-strings-pkg-errors.go Update error-strings rule (#608) (#609) 2021-10-28 21:26:02 +02:00
error-strings.go fix trailing whitespaces (#917) 2023-10-27 07:26:27 +02:00
errorf.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
exported.go #1002 - add "checkPublicInterface" option to "exported" rule to allow check documentation on public methods on public interfaces (#1003) 2024-07-30 10:36:03 +02:00
import-dot.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
increment-decrement.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
indent-error-flow.go refactor: extract shared code for linting if-else chains (#821) 2023-05-17 13:51:35 +02:00
package-doc1.go Make package comment more confident (#694) 2022-06-19 13:21:31 +02:00
package-doc2.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
package-doc3.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
package-doc5.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
package-doc6.go Fix 922 (#989) 2024-05-13 14:23:02 +02:00
package-main.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
pkg-caps.go add golint's package name MixedCaps rule as in 83fdc39ff7/lint.go (L561-L563) (#797) 2023-02-27 19:56:30 +01:00
range.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
receiver-naming.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
sort.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
stutter.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
time-naming.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
unexported-return.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
value-spec.go fix issue #691 (#700) 2022-06-28 18:14:26 +03:00
var-declaration.go renames fixtures as testdata to avoid spurious dependencies (#359) 2020-03-02 09:12:43 -10:00
var-naming.go resolve #867: remove k[A-Z][A-Za-z\d]*$ sub-rule from var-naming (#871) 2023-08-16 13:23:29 +02:00