Skip to content

naming-convention

Flags file names that break the configured casing or custom regex pattern. Density suffixes such as @2x are stripped first.

  • Severity: warning
  • Enabled by default: no

How to fix it

Rename the file to match the configured casing (kebab-case, snake_case, camelCase, PascalCase or lowercase).

Configuration

{ "rules": { "naming-convention": "kebab-case" } }

All rules