Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 384 Bytes

match-kebab-case.md

File metadata and controls

23 lines (15 loc) · 384 Bytes

Enforce a case style for dirnames (@sserov/dirnames/match-kebab-case)

Enforces all linted dirnames to have their names in kebab case style

Cases

kebabCase

  • src/foo-bar
  • src/my-component

Rule Details

Examples of incorrect dirnames for this rule:

/src/fooBar/index.js

Examples of correct dirnames for this rule:

/src/foo-bar/index.js