# @vue/eslint-config-standard

> eslint-config-standard for Vue.js projects

Latest version **9.0.1** (published 2025-03-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @vue/eslint-config-standard
pnpm add @vue/eslint-config-standard
yarn add @vue/eslint-config-standard
bun add @vue/eslint-config-standard
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; no types.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 9.0.1 |
| Published | 2025-03-13 |
| First published | 2018-01-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 20.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 66 |
| Author | Evan You |
| Maintainers | akryum, yyx990803, soda, michalsnik, mysticatea |
| Keywords | vue, eslint, standard |

## Links

- npm: https://www.npmjs.com/package/@vue/eslint-config-standard
- Repository: https://github.com/vuejs/eslint-config-standard
- Homepage: https://github.com/vuejs/eslint-config-standard/blob/main/packages/eslint-config-standard#readme
- Issues: https://github.com/vuejs/eslint-config-standard/issues
- npm.io page: https://npm.io/package/@vue/eslint-config-standard

## Dependencies (6)

- [globals](https://npm.io/package/globals.md) ^16.0.0
- [eslint-plugin-n](https://npm.io/package/eslint-plugin-n.md) ^17.16.2
- [eslint-plugin-promise](https://npm.io/package/eslint-plugin-promise.md) ^7.2.1
- [eslint-plugin-import-x](https://npm.io/package/eslint-plugin-import-x.md) ^4.6.1
- [@stylistic/eslint-plugin](https://npm.io/package/@stylistic/eslint-plugin.md) ^4.2.0
- [eslint-import-resolver-next](https://npm.io/package/eslint-import-resolver-next.md) ^0.4.2

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 9.0.1 (latest) — 2025-03-13
- 8.0.1 (legacy-eslintrc) — 2022-07-27
- 9.0.0 — 2025-01-19
- 8.0.0 — 2022-07-22
- 7.0.0 — 2022-05-12
- 6.1.0 — 2021-07-30
- 6.0.0 — 2020-12-07
- 5.1.2 — 2020-02-15
- 5.1.1 — 2020-02-07
- 5.1.0 — 2020-01-10
- 5.0.1 — 2019-12-05
- 5.0.0 — 2019-11-18
- 4.0.0 — 2018-10-30
- 3.0.5 — 2018-10-09
- 3.0.4 — 2018-09-25
- … 45 more at https://npm.io/package/@vue/eslint-config-standard/versions

## README

# `@vue/eslint-config-standard`

ESLint [Shareable Configs](https://eslint.org/docs/latest/extend/shareable-configs) for [JavaScript Standard Style](http://standardjs.com) in [Vue.js](https://vuejs.org/) Projects

This config is specifically designed to be used by `create-vue` setups
and is not meant for outside use (it can be used but some adaptations
on the user side might be needed - for details see the config file).

A part of its design is that this config may implicitly depend on
other parts of `create-vue` setups, such as `eslint-plugin-vue` being
extended in the same resulting config.

> [!NOTE]
> The current version doesn't support the legacy `.eslintrc*` configuration format. For that you need to use version 13 or earlier. See the [corresponding README](https://www.npmjs.com/package/@vue/eslint-config-standard/v/legacy-eslintrc) for more usage instructions.

## Installation

```sh
npm add --dev @vue/eslint-config-standard
```

## Usage

An example `eslint.config.js`:

```js
import pluginVue from "eslint-plugin-vue";
import standard from "@vue/eslint-config-standard";

export default [
  ...pluginVue.configs["flat/essential"],
  ...standard,
]
```

## Aliases

By default, none of the built-in rules require you to configure aliases in ESLint.

But if you want to enable some additional rules that need to actually resolve the imported module on the filesystem (e.g. [`import-x/no-unresolved`](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/no-unresolved.md)) by yourself and need path aliases to be resolved, please make sure configure them in your `jsconfig.json` or `tsconfig.json` file. We use [eslint-import-resolver-next](https://github.com/kuoruan/eslint-import-resolver-next) as the default resolver, which will automatically detect path aliases in these files.

---
_Source: https://npm.io/package/@vue/eslint-config-standard · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
