@renton/eslint-config-vue

ESLint configuration for Vue.js and Vue I18n projects
Install
npm install @renton/eslint-config-vue
Latest Version:1.2.1
License:MIT
Last Updated:Oct 21, 2026
Links: GitHub  ·  npm
Maintainer: muromi

@renton/eslint-config-vue — ESLint flat config for Vue 3 projects with vue-i18n and Tailwind CSS

Opinionated ESLint flat config for Vue 3 projects. Extends @renton/eslint-config with Vue-specific rules. Part of the @renton/eslint-config monorepo.

Install

pnpm add -D @renton/eslint-config-vue eslint

Usage

// eslint.config.ts
import { rentonVue } from "@renton/eslint-config-vue";

export default rentonVue();

With Options

export default rentonVue({
  vue: true,                    // Vue 3 rules (default: true)
  vueI18n: true,                // vue-i18n rules
  vueI18nLocaleDir: "./src/locales", // Locale directory (required if vueI18n: true)
  tailwindcss: true,            // Tailwind CSS
  tailwindcssConfigPath: "./tailwind.config.ts",
});

Included Plugins

Extends all base plugins plus:

Plugin Description
eslint-plugin-vue Vue 3 rules
vue-eslint-parser Vue SFC parser
@intlify/eslint-plugin-vue-i18n vue-i18n rules (opt-in)
eslint-plugin-tailwindcss Tailwind CSS rules (opt-in)

Options

Option Type Default Description
vue boolean true Enable Vue 3 rules
vueI18n boolean false Enable vue-i18n rules
vueI18nLocaleDir string - Path to locale files (required if vueI18n: true)
tailwindcss boolean false Enable Tailwind CSS
tailwindcssConfigPath string - Path to Tailwind config (required if tailwindcss: true)

All base options are also supported.

Custom Rules

export default rentonVue(
  {},
  {
    rules: {
      "vue/no-v-html": "warn",
    },
  },
);

License

Apache-2.0

Related Packages

@tresinternet/eslint-config-vue3

Opinionated ESLint config for consistent, clean, auto-sorted code in TRES Vue3 a...

2,631
eslint-config-light-vue3

开箱即用的 Eslint 配置

19,634
@so1ve/eslint-config-vue

Ray's eslint config for vue.

18,733 29
@singularit/eslint-config-vue

@singularit/eslint-config-vue

16,863
eslint-config-tjw-vue

The Jared Wilcurt's Premium Vue.js Linting rules

11,480 2

Version History

Version Released License
1.2.1 MIT
1.2.0 MIT
1.1.1 MIT
1.1.0 MIT
1.0.0 MIT