commentstyle

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: MIT Imports: 6 Imported by: 0

README

commentstyle

commentstyle is the linter to used to keep consistent comment styles.

install

go get -u github.com/yk2220s/commentstyle/cmd/commentstyle

rules

each rule can be disabled with a flag.

only-ascii

default: true

any comment string should be an ascii character.

prefer-line-style

default: true

line-style (//-style) should be preferred than block-style (/*-style).

Documentation

Overview

Package commentstyle provides an analyzer that helps to keep your comment style.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "commentstyle",
	Doc:  doc,
	Run:  run,
	Requires: []*analysis.Analyzer{
		inspect.Analyzer,
	},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd
plugin

Jump to

Keyboard shortcuts

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