rubocop

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: MIT Imports: 3 Imported by: 0

README

rubocop

Install rubocop:

touch Gemfile 
echo "gem 'rubocop'" >> Gemfile
bundle install
bundle binstsubs rubocop

Example config:

Rubocop:
  Enabled: true
  Command: bin/rubocop
  Config: .rubocop.yaml

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChecker

func NewChecker() core.Checker

Types

type Checker

type Checker struct {
	core.Settings `yaml:",inline"`
}

func (Checker) Check

func (checker Checker) Check(ranges []core.LineRange) ([]core.Issue, error)

func (*Checker) Tag

func (checker *Checker) Tag() string

Jump to

Keyboard shortcuts

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