Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.01 KB

rubocop.md

File metadata and controls

45 lines (31 loc) · 1.01 KB
description title layout
rubocop is a linter for Ruby
Trunk | How to run rubocop
title description tableOfContents outline pagination
visible
true
visible
visible
true
visible
true
visible
true

rubocop

rubocop is a linter for Ruby.

You can enable the rubocop linter with:

trunk check enable rubocop

Auto Enabling

rubocop will be auto-enabled if a .rubocop.yml config file is present.

Settings

rubocop supports the following config files:

  • .rubocop.yml

You can move these files to .trunk/configs and trunk check will still find them. See Moving Linters for more info.

Links