Skip to content

RUBY

Linters

Linter Additional
rubocop
RUBY_RUBOCOP
GitHub stars autofix

Linted files

  • File extensions:
    • .rb

Configuration in MegaLinter

Variable Description Default value
RUBY_PRE_COMMANDS List of bash commands to run before the linters None
RUBY_POST_COMMANDS List of bash commands to run after the linters None
RUBY_FILTER_REGEX_INCLUDE Custom regex including filter
RUBY_FILTER_REGEX_EXCLUDE Custom regex excluding filter