KEMBAR78
Naming/FileName Cop not working · Issue #6132 · rubocop/rubocop · GitHub
Skip to content

Naming/FileName Cop not working #6132

@jhavero

Description

@jhavero

Expected behavior

I created lib/layoutManager.rb (not a script) but when I run rubocop it doesn't tell me it should be snake case.

Actual behavior

rubocop returns with "no offenses detected"

Steps to reproduce the problem

  1. create file lib/layoutManager.rb
  2. run rubocop lib/layoutManager.rb

RuboCop version

$ rubocop -V
0.58.2 (using Parser 2.5.1.2, running on ruby 2.3.3 x86_64-darwin16)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions