godot – linter tool

godot is a Go linter that helps keep source code comments consistent by checking whether comments end with a period when needed.

It’s designed for Go projects and can be used either as a standalone command-line tool or through GolangCI-Lint. The software also offers configurable checking scopes, exclusion rules, optional capitalization checks, and autofix modes for correcting issues automatically.

This is free and open source software.

Key Features

  • Can be installed as a standalone command-line linter or used through GolangCI-Lint.
  • Supports configuration with a default .godot.yaml file or a custom config file.
  • Offers multiple checking scopes including declarations, toplevel, noinline, and all comments.
  • Supports regular expression based exclusions for selected comment lines.
  • Can check sentence-ending periods and optionally verify sentence capitalization.
  • Provides autofix modes to print corrected output or overwrite the original files.

Website: github.com/tetafro/godot
Support:
Developer: tetafro
License: MIT License

godot is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Go Linters
reviveDesigned as a drop-in replacement for golint
golangci-lintFast Go linters runner
gosecSecurity scanner for Go projects
StaticcheckAdvanced Go linter
go-criticOpinionated Go source code linter
VetExamines Go source code and reports suspicious constructs
gofumptStricter gofmt
gofmtFormats Go programs
goconstFind repeated Go literals that could be replaced with constants
go-ruleguardAnalysis-based Go linter that runs dynamically loaded rules
sloglintEnforce consistent structured logging conventions in Go
forbidigoGo linter for forbidding identifiers
godotKeep source code comments consistent
Godoc-LintEnforce consistent documentation comments in Go code
exhaustiveCheck Go switch statements for missing enum cases

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted