Skip to main content

id-class-style

This rule is deprecated and will be removed in LintHTML v1. Use the rules id-style and class-style instead.

A format specifier, or false. If set, ids and classes must fit the given format. May be overridden by class-style for classes and id-style for ids.

Possible values :

  • "lowercase": Consists of lowercase letters
  • "underscore": Lowercase and underscore-separated
  • "dash": Lowercase and separated by hyphens
  • "camel": camelCase (or CamelCase)
  • "bem": The BEM (block, element, modifier) syntax