kfulint

module
v0.0.0-...-ed22ee5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2018 License: MIT

README

kfulint

Build Status Go Report Card

Go source code linter that brings checks that are currently not implemented in other linters.

Project goals:

  • Provide as much useful checks as possible. We're prototyping and experimenting here

  • When specific check implementation is mature and proven useful, propose it's integration into other linter

  • If good checker can't find a better home, it stays here

We say yes! to most checks that feel right and can help someone.

You can use this tool to make whole codebase checks from time to time.

There is never too much static code analysis. Try it out.

Quick start / installation

go get -u github.com/PieselBois/kfulint/...

Add linter to your $PATH or run it directly:

./bin/kfulint package/path/to/lint

Run ./bin/kfulint -help for more info.

Contributing

This project aims to be contributing-friendly.

We're using optimistic merging strategy most of the time. In short, this means that if your contribution has some flaws, we can still merge it and then fix them by ourselves. Experimental and work-in-progress checkers are isolated, so nothing bad will happen.

Code style is the same as in Go project, see CodeReviewComments.

See CONTRIBUTING.org for more details. It also describes how to develop a new checker for the linter.

Directories

Path Synopsis
cmd
kfulint command
lintwalk command
internal/astfilter
Package astfilter provides composable filters and predicates for astutil package.
Package astfilter provides composable filters and predicates for astutil package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL