# camelcase

Rule `vue/camelcase`. Enforce camelcase naming convention in `<template>`

- Source: vue
- Technologies: Vue
- Kind: style
- Needs type information: no
- Autofix: yes, in at least one linter
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #1819 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `vue/camelcase` | no | no | package `eslint-plugin-vue` | [docs](https://eslint.vuejs.org/rules/camelcase.html) |
| Biome | `style/useNamingConvention` | no | safe | group style, since 1.0.0 | [docs](https://biomejs.dev/linter/rules/use-naming-convention/) |

## Enable it

### ESLint: `eslint.config.js`

```js
import vue from "eslint-plugin-vue";

export default [
  {
    plugins: { vue },
    rules: {
      "vue/camelcase": "error",
    },
  },
];
```

### Biome: `biome.json`

```json
{
  "linter": {
    "rules": {
      "style": {
        "useNamingConvention": "error"
      }
    }
  }
}
```

## Related rules

- [eslint/camelcase](https://lintradar.dev/rules/eslint/camelcase.md): Enforce camelcase naming convention
- [vue/block-lang](https://lintradar.dev/rules/vue/block-lang.md): Disallow use other than available `lang`
- [vue/component-api-style](https://lintradar.dev/rules/vue/component-api-style.md): Enforce component API style
- [vue/html-button-has-type](https://lintradar.dev/rules/vue/html-button-has-type.md): Disallow usage of button without an explicit type attribute
- [vue/match-component-file-name](https://lintradar.dev/rules/vue/match-component-file-name.md): Require component name property to match its file name
- [vue/no-console](https://lintradar.dev/rules/vue/no-console.md): Disallow the use of `console` in `<template>`

---

Web page: https://lintradar.dev/rules/vue/camelcase. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
