For some reason ruumba is not finding any files to lint. I've tried running the basic ruumba commands without a .ruumba.yml file and with a default .ruumba.yml config but both yield 0 files inspected, no offenses detected
Commands run are bin/ruumba ./ bundle exec ruumba ./ bundle exec ruumba app/views ruumba -D -e app/views -c .ruumba.yml
Even running on a specific file is still returning 0 files inspected.
Can anyone provide some insight on why this could be happening?
Contents of .ruumba.yml is:
inherit_from: .rubocop.yml
AllCops:
Include:
- '**/*.erb'
# The following cops are not applicable to ERB files
Style/CommentedKeyword:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
# Arguably all 'Layout' cops are not applicable
Layout/AlignHash:
Enabled: false
Layout/AlignParameters:
Enabled: false
Layout/BlockAlignment:
Enabled: false
Layout/CaseIndentation:
Enabled: false
Layout/ClosingParenthesisIndentation:
Enabled: false
Layout/CommentIndentation:
Enabled: false
Layout/ConditionPosition:
Enabled: false
Layout/EndAlignment:
Enabled: false
Layout/ElseAlignment:
Enabled: false
Layout/EmptyLines:
Enabled: false
Layout/EmptyLinesAroundBlockBody:
Enabled: false
Layout/ExtraSpacing:
Enabled: false
Layout/IndentFirstArgument:
Enabled: false
Layout/IndentFirstArrayElement:
Enabled: false
Layout/IndentationConsistency:
Enabled: false
Layout/IndentationWidth:
Enabled: false
Layout/IndentFirstHashElement:
Enabled: false
Layout/InitialIndentation:
Enabled: false
Layout/LeadingBlankLines:
Enabled: false
Layout/LeadingCommentSpace:
Enabled: false
Layout/MultilineMethodCallBraceLayout:
Enabled: false
Layout/MultilineMethodCallIndentation:
Enabled: false
Layout/SpaceAfterColon:
Enabled: false
Layout/SpaceAfterComma:
Enabled: false
Layout/SpaceAroundOperators:
Enabled: false
Layout/SpaceBeforeBlockBraces:
Enabled: false
Layout/SpaceBeforeComma:
Enabled: false
Layout/SpaceBeforeComment:
Enabled: false
Layout/SpaceBeforeFirstArg:
Enabled: false
Layout/SpaceBeforeSemicolon:
Enabled: false
Layout/SpaceInsideArrayLiteralBrackets:
Enabled: false
Layout/SpaceInsideBlockBraces:
Enabled: false
Layout/SpaceInsideHashLiteralBraces:
Enabled: false
Layout/SpaceInsideParens:
Enabled: false
Layout/SpaceInsideStringInterpolation:
Enabled: false
Layout/TrailingBlankLines:
Enabled: false
Layout/TrailingWhitespace:
Enabled: false
# Incorrectly flagged by Ruumba
# Typically the false positives relate to important HTML differences which aren't
# inside ERB tags and so aren't detected correctly by Ruumba.
# TODO: Monitor these, and re-enable permanently once Ruumba flags correctly.
Lint/Void:
Enabled: false
Lint/EmptyWhen:
Enabled: false
Style/EmptyElse:
Enabled: false
Style/IdenticalConditionalBranches:
Enabled: false
Style/IfInsideElse:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/Next:
Enabled: false
Style/UnneededCondition:
Enabled: false
# TODO: Enable cops below and resolve violations.
# Note: The `--auto-gen-config` flag is glitchy with `ruumba`.
# To re-generate this list;
# - delete all rules below this comment and save.
# - run `bin/ruumba`
# - Copy full output (many errors + warnings!)
# - Use text manipulation to extract occurrences of `: C: XXXX/YYYY` and `: W: XXXX/YYYY`
# - De-duplicate and sort the matching cop names
# - Paste below and manipulate to be `Enabled: false` in each case.
Metrics/BlockLength:
Enabled: false
Metrics/BlockNesting:
Enabled: false
Metrics/LineLength:
Enabled: false
Style/BlockDelimiters:
Enabled: false
Style/BracesAroundHashParameters:
Enabled: false
Style/MultilineIfModifier:
Enabled: false
Style/NestedParenthesizedCalls:
Enabled: false
Style/NestedTernaryOperator:
Enabled: false
Style/Semicolon:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/SymbolProc:
Enabled: false
Style/TernaryParentheses:
Enabled: false
Style/ZeroLengthPredicate:
Enabled: false
For some reason ruumba is not finding any files to lint. I've tried running the basic ruumba commands without a
.ruumba.ymlfile and with a default.ruumba.ymlconfig but both yield0 files inspected, no offenses detectedCommands run are
bin/ruumba ./bundle exec ruumba ./bundle exec ruumba app/viewsruumba -D -e app/views -c .ruumba.ymlEven running on a specific file is still returning
0 files inspected.Can anyone provide some insight on why this could be happening?
Contents of
.ruumba.ymlis: