---
title: "Linting and formatting · vuejs.school"
description: "Catch bugs with Oxlint and ESLint 10, leave spacing to one formatter, and run both on save, on commit and in CI without anyone having to remember."
canonical_url: "https://vuejs.school/learn/tooling/linting-and-formatting"
meta:
  "og:description": "Catch bugs with Oxlint and ESLint 10, leave spacing to one formatter, and run both on save, on commit and in CI without anyone having to remember."
  "og:image": "https://vuejs.school/_og/d/a_~TGludGluZyBhbmQgZm9ybWF0dGluZyDCtyB2dWVqcy5zY2hvb2w%2Cc_OgCard.takumi%2Ctitle_Linting%2Band%2Bformatting%2Cdescription_~Q2F0Y2ggYnVncyB3aXRoIE94bGludCBhbmQgRVNMaW50IDEwLCBsZWF2ZSBzcGFjaW5nIHRvIG9uZSBmb3JtYXR0ZXIsIGFuZCBydW4gYm90aCBvbiBzYXZlLCBvbiBjb21taXQgYW5kIGluIENJIHdpdGhvdXQgYW55b25lIGhhdmluZyB0byByZW1lbWJlci4%2Ceyebrow_~UHJvamVjdHMgJiB0b29saW5nIMK3IExlc3NvbiA0IG9mIDY%2Ctint_sand%2Cp_Ii9sZWFybi90b29saW5nL2xpbnRpbmctYW5kLWZvcm1hdHRpbmci%2Cs_b6ja9ILgVHYWLkRn.png"
  "og:image:alt": "Linting and formatting · vuejs.school"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Linting and formatting · vuejs.school"
  "twitter:image": "https://vuejs.school/_og/d/a_~TGludGluZyBhbmQgZm9ybWF0dGluZyDCtyB2dWVqcy5zY2hvb2w%2Cc_OgCard.takumi%2Ctitle_Linting%2Band%2Bformatting%2Cdescription_~Q2F0Y2ggYnVncyB3aXRoIE94bGludCBhbmQgRVNMaW50IDEwLCBsZWF2ZSBzcGFjaW5nIHRvIG9uZSBmb3JtYXR0ZXIsIGFuZCBydW4gYm90aCBvbiBzYXZlLCBvbiBjb21taXQgYW5kIGluIENJIHdpdGhvdXQgYW55b25lIGhhdmluZyB0byByZW1lbWJlci4%2Ceyebrow_~UHJvamVjdHMgJiB0b29saW5nIMK3IExlc3NvbiA0IG9mIDY%2Ctint_sand%2Cp_Ii9sZWFybi90b29saW5nL2xpbnRpbmctYW5kLWZvcm1hdHRpbmci%2Cs_b6ja9ILgVHYWLkRn.png"
  "twitter:image:alt": "Linting and formatting · vuejs.school"
---

> Index of every page on this site: [llms.txt](https://vuejs.school/llms.txt)

# **Linting and formatting**

Catch bugs with Oxlint and ESLint 10, leave spacing to one formatter, and run both on save, on commit and in CI without anyone having to remember.

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://vuejs.school/#website","@type":"WebSite","description":"A free AI-instructed school for Vue.js. Short tutorials, runnable code and quizzes that adapt to you.","name":"vuejs.school","url":"https://vuejs.school/","publisher":{"@id":"https://vuejs.school/#identity"}},{"@id":"https://vuejs.school/learn/tooling/linting-and-formatting#webpage","@type":"WebPage","description":"Catch bugs with Oxlint and ESLint 10, leave spacing to one formatter, and run both on save, on commit and in CI without anyone having to remember.","name":"Linting and formatting","url":"https://vuejs.school/learn/tooling/linting-and-formatting","breadcrumb":{"@id":"https://vuejs.school/learn/tooling/linting-and-formatting#breadcrumb"},"isPartOf":{"@id":"https://vuejs.school/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://vuejs.school/learn/tooling/linting-and-formatting"]}],"primaryImageOfPage":{"@id":"https://vuejs.school/#logo"}},{"@id":"https://vuejs.school/#identity","@type":"Organization","description":"A free AI-instructed school for Vue.js. Short tutorials, runnable code and quizzes that adapt to you.","name":"vuejs.school","url":"https://vuejs.school","logo":{"@id":"https://vuejs.school/#logo"}},{"@id":"https://vuejs.school/learn/tooling/linting-and-formatting#article","description":"Catch bugs with Oxlint and ESLint 10, leave spacing to one formatter, and run both on save, on commit and in CI without anyone having to remember.","headline":"Linting and formatting","inLanguage":"en","isAccessibleForFree":true,"thumbnailUrl":"https://vuejs.school/_og/d/a_~TGludGluZyBhbmQgZm9ybWF0dGluZyDCtyB2dWVqcy5zY2hvb2w%2Cc_OgCard.takumi%2Ctitle_Linting%2Band%2Bformatting%2Cdescription_~Q2F0Y2ggYnVncyB3aXRoIE94bGludCBhbmQgRVNMaW50IDEwLCBsZWF2ZSBzcGFjaW5nIHRvIG9uZSBmb3JtYXR0ZXIsIGFuZCBydW4gYm90aCBvbiBzYXZlLCBvbiBjb21taXQgYW5kIGluIENJIHdpdGhvdXQgYW55b25lIGhhdmluZyB0byByZW1lbWJlci4%2Ceyebrow_~UHJvamVjdHMgJiB0b29saW5nIMK3IExlc3NvbiA0IG9mIDY%2Ctint_sand%2Cp_Ii9sZWFybi90b29saW5nL2xpbnRpbmctYW5kLWZvcm1hdHRpbmci%2Cs_b6ja9ILgVHYWLkRn.png","@type":["Article","TechArticle"],"articleSection":["Tooling"],"author":{"@id":"https://vuejs.school/#identity"},"image":{"@id":"https://vuejs.school/#/schema/image/1"},"isPartOf":{"@id":"https://vuejs.school/learn/tooling/linting-and-formatting#webpage"},"keywords":["eslint.config.ts","eslint-plugin-vue","Oxlint","Prettier / oxfmt","simple-git-hooks + lint-staged"],"mainEntityOfPage":{"@id":"https://vuejs.school/learn/tooling/linting-and-formatting#webpage"},"publisher":{"@id":"https://vuejs.school/#identity"}},{"@id":"https://vuejs.school/learn/tooling/linting-and-formatting#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Skill tree","item":"https://vuejs.school/track","position":1},{"@type":"ListItem","name":"Projects & tooling","item":"https://vuejs.school/track/tooling","position":2},{"@type":"ListItem","name":"Linting and formatting","position":3}]},{"@id":"https://vuejs.school/#logo","@type":"ImageObject","caption":"vuejs.school","contentUrl":"https://vuejs.school/apple-touch-icon.png","inLanguage":"en","url":"https://vuejs.school/apple-touch-icon.png"},{"@id":"https://vuejs.school/#/schema/image/1","@type":"ImageObject","contentUrl":"https://vuejs.school/_og/d/a_~TGludGluZyBhbmQgZm9ybWF0dGluZyDCtyB2dWVqcy5zY2hvb2w%2Cc_OgCard.takumi%2Ctitle_Linting%2Band%2Bformatting%2Cdescription_~Q2F0Y2ggYnVncyB3aXRoIE94bGludCBhbmQgRVNMaW50IDEwLCBsZWF2ZSBzcGFjaW5nIHRvIG9uZSBmb3JtYXR0ZXIsIGFuZCBydW4gYm90aCBvbiBzYXZlLCBvbiBjb21taXQgYW5kIGluIENJIHdpdGhvdXQgYW55b25lIGhhdmluZyB0byByZW1lbWJlci4%2Ceyebrow_~UHJvamVjdHMgJiB0b29saW5nIMK3IExlc3NvbiA0IG9mIDY%2Ctint_sand%2Cp_Ii9sZWFybi90b29saW5nL2xpbnRpbmctYW5kLWZvcm1hdHRpbmci%2Cs_b6ja9ILgVHYWLkRn.png","inLanguage":"en","url":"https://vuejs.school/_og/d/a_~TGludGluZyBhbmQgZm9ybWF0dGluZyDCtyB2dWVqcy5zY2hvb2w%2Cc_OgCard.takumi%2Ctitle_Linting%2Band%2Bformatting%2Cdescription_~Q2F0Y2ggYnVncyB3aXRoIE94bGludCBhbmQgRVNMaW50IDEwLCBsZWF2ZSBzcGFjaW5nIHRvIG9uZSBmb3JtYXR0ZXIsIGFuZCBydW4gYm90aCBvbiBzYXZlLCBvbiBjb21taXQgYW5kIGluIENJIHdpdGhvdXQgYW55b25lIGhhdmluZyB0byByZW1lbWJlci4%2Ceyebrow_~UHJvamVjdHMgJiB0b29saW5nIMK3IExlc3NvbiA0IG9mIDY%2Ctint_sand%2Cp_Ii9sZWFybi90b29saW5nL2xpbnRpbmctYW5kLWZvcm1hdHRpbmci%2Cs_b6ja9ILgVHYWLkRn.png"}]}
```