• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-critic / go-critic
98%

Build:
DEFAULT BRANCH: master
Repo Added 10 Jul 2018 04:23PM UTC
Files 69
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • Quasilyte-patch-1
  • add-deprecated-pattern
  • cristaloleg-patch-1
  • fexolm/assignop
  • fexolm/makedocs-fix
  • fexolm/multiline-fix
  • fexolm/multiline-tests
  • fix-ci
  • hexLit_checker
  • ludweeg/add_octalLiteral_checker
  • ludweeg/simplify_flagName
  • modules-on-cover
  • old_master
  • quasilyte-patch-1
  • quasilyte/773_followup
  • quasilyte/addChecker/badCall
  • quasilyte/addChecker/evalOrder
  • quasilyte/addChecker/truncateCmp
  • quasilyte/add_argOrder_checker
  • quasilyte/add_codegenComment_checker
  • quasilyte/add_newDeref_checker
  • quasilyte/add_regexpPattern_checker
  • quasilyte/add_typeAssertChain_checker
  • quasilyte/boolExprSimplify_no_eager_copy
  • quasilyte/coverage_profile
  • quasilyte/deprecatedComment_note_pattern
  • quasilyte/doc_tests
  • quasilyte/dupImport/followup
  • quasilyte/enable_integration_tests
  • quasilyte/fix/boolExprSimplify_float_fold_range
  • quasilyte/fix/check_for_stdlib_pkg_in_duparg
  • quasilyte/fix/commentedOutCode_example_test_output_comment
  • quasilyte/fix/truncateCmp_bothcast
  • quasilyte/fix/unlambda_varfunc/888
  • quasilyte/fix802
  • quasilyte/fixDeps
  • quasilyte/fixNamecheckWarnings
  • quasilyte/fix_equalFold_falsepositive
  • quasilyte/fix_flagName_bug
  • quasilyte/hexLiterals_fix
  • quasilyte/imporve_deprecatedComment1
  • quasilyte/improve_argOrder
  • quasilyte/improve_dupArg
  • quasilyte/improve_makedocs
  • quasilyte/improve_regexpPattern_checker
  • quasilyte/paramdocs
  • quasilyte/tests/cgo_integration_tests
  • quasilyte/typeUnparen/makeCallTest
  • quasilyte/updateDocs
  • quasilyte/wrapperFunc/bufferReset
  • quasilyte/wrapperFunc/splitN
  • quasilyte/yodaStyleExpr/extendSupportedOpsList
  • update-golangci-lint
  • v0.4.0
  • weeellz/caseOrder_fix

pending completion
2666

push

travis-ci

cristaloleg
Add whyNoLint checker. (#887)

* Add whyNoLint checker.

This checker inspects machine-readable //nolint comments (per the
conventions from https://github.com/golangci/golangci-lint#nolint) to
ensure that they are accompanied by human-readable explanatory
comments on the same line.

The intention is to enable teams to enforce a policy of not disabling
linters without providing an explicit justification.

* Add backticks around code literal in Summary.

* Factor out slice element to conditional-scoped var

3785 of 3871 relevant lines covered (97.78%)

55.62 hits per line

Relevant lines Covered
Build:
Build:
3871 RELEVANT LINES 3785 COVERED LINES
55.62 HITS PER LINE
Source Files on master
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
2666 master Add whyNoLint checker. (#887) * Add whyNoLint checker. This checker inspects machine-readable //nolint comments (per the conventions from https://github.com/golangci/golangci-lint#nolint) to ensure that they are accompanied by human-readable... push 27 Nov 2019 11:07AM UTC cristaloleg travis-ci pending completion  
2664 master checkers: don't warn on var funcs (#889) Fixes #888 Signed-off-by: Iskander Sharipov <quasilyte@gmail.com> push 22 Nov 2019 01:59PM UTC web-flow travis-ci pending completion  
2658 master Polish up CONTRIBUTING.md (#886) Mainly focus on fixing up steps for adding a new checker, which seem to have fallen a bit out of date. Also do a touch of general language cleanup, adding missing articles and such. push 17 Nov 2019 11:31PM UTC quasilyte travis-ci pending completion  
2656 master Add make target for gocritic binary (#885) Simplify installation steps by putting long lintpack invocation behind a concise make target. Update README.md to refer to this target. Also fix name reference in previous line -- the built binary i... push 17 Nov 2019 07:35PM UTC quasilyte travis-ci pending completion  
2654 master all: update go.mod (#884) push 25 Oct 2019 08:44PM UTC cristaloleg travis-ci pending completion  
2651 master checkers: improve typeUnparen coverage (#882) push 25 Oct 2019 06:41PM UTC cristaloleg travis-ci pending completion  
2649 master all: stop testing on master due to it's slowness (#883) push 25 Oct 2019 06:27PM UTC cristaloleg travis-ci pending completion  
2646 master checkers: don't warn on expressions with 2 casts (#881) To avoid false positives, don't warn on comparisons where both sides have integer conversions. Signed-off-by: Iskander Sharipov <quasilyte@gmail.com> push 25 Oct 2019 05:51PM UTC web-flow travis-ci pending completion  
2643 master update golangci-lint (#879) push 25 Oct 2019 12:51PM UTC web-flow travis-ci pending completion  
2640 master checkers: add truncateCmp checker (#878) Checks when numeric types are compared with truncated conversion on the either side. Problematic code example: ``` func f(x int32, y int16) bool { return int16(x) < y } ``` Fixed code exam... push 25 Oct 2019 12:20PM UTC web-flow travis-ci pending completion  
See All Builds (977)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc