An open API service indexing awesome lists of open source software.

https://github.com/vuetifyjs/eslint-config-vuetify

💼 Opinionated eslint config for the Vuetify ecosystem
https://github.com/vuetifyjs/eslint-config-vuetify

eslint eslint-config vue-eslint vue-eslint-config vuetify

Last synced: 2 months ago
JSON representation

💼 Opinionated eslint config for the Vuetify ecosystem

Awesome Lists containing this project

README

          




Vuetify ESLint Config Logo


npm version
npm downloads
License: MIT
Discord

# eslint-config-vuetify

✨ An opinionated eslint config for Vuetify, crafted to keep your code clean and consistent!

### 💿 Install

```sh
# npm
npm install -D eslint-config-vuetify

# yarn
yarn add -D eslint-config-vuetify

# pnpm
pnpm install -D eslint-config-vuetify

# bun
bun install -D eslint-config-vuetify

# deno
deno install --dev eslint-config-vuetify
```

### 🚀 Usage

Update your `eslint.config.js` flat config to _extend_ vuetify:

```js
import vuetify from 'eslint-config-vuetify'

export default vuetify()
```

Most features are automatically detected, but you can explicitly turn them on/off or customize them

```js
import vuetify from 'eslint-config-vuetify'

export default vuetify({
vue: true,
ts: {
preset: 'all',
},
})
```

You can provide additional ESLint configurations after the options object, or directly specify them for simpler use cases where the default settings work fine:

```js
import vuetify from 'eslint-config-vuetify'

export default vuetify(
{
pnpm: false,
},
{
plugins: {
sonarjs,
},
rules: {
...sonarjs.configs.recommended.rules,
},
},
)
```

```js
import vuetify from 'eslint-config-vuetify'

export default vuetify({
rules: {
'no-console': 'error',
},
})
```

### 💪 Supporting Vuetify

Vuetify is an open source MIT project that has been made possible due to the generous contributions by community backers. If you are interested in supporting this project, please consider:

### 📑 License

[MIT](http://opensource.org/licenses/MIT)

Copyright (c) 2016-present Vuetify LLC

----

This project exists and thrives thanks to all the wonderful people who contribute 😍