---
pageClass: "rule-details"
sidebarDepth: 0
title: "lodash-template/attribute-name-casing"
description: "enforce HTML attribute name casing. (ex. :ok: `
` :ng: `
` `
`)"
---
# lodash-template/attribute-name-casing
> enforce HTML attribute name casing. (ex. :ok: `
` :ng: `
` `
`)
- :gear: This rule is included in `"plugin:lodash-template/recommended-with-html"` and `"plugin:lodash-template/all"`.
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
## Rule Details
This rule enforces attribute name casing style (kebab-case).
```html
<% /* eslint "lodash-template/attribute-name-casing": "error" */ %>