@the-i18n-kit/eslint-plugin-vue
Authoring rules that keep the i18n kit's scanner sound, and a layer-aware preset over @intlify/eslint-plugin-vue-i18n
13,813
11
| Install | |
|---|---|
npm install @the-i18n-kit/eslint-plugin-vue |
|
| Latest Version: | 0.2.2 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Sep 25, 2026 |
| Links: | GitHub · npm |
Maintainer: fabian-kho
@the-i18n-kit/eslint-plugin-vue
ESLint rules for the i18n kit: two
authoring rules that keep the orphan scanner sound, and a layer-aware preset that
checks key existence per app against the layers it consumes. Lints .vue, .ts,
.js, .mjs (and .tsx/.jsx through layerAware()).
📖 Documentation
Install
pnpm add -D @the-i18n-kit/eslint-plugin-vue
// eslint.config.mjs
import i18nKit, { layerAware } from '@the-i18n-kit/eslint-plugin-vue'
export default [
...i18nKit.configs.recommended,
...await layerAware(), // needs @intlify/eslint-plugin-vue-i18n and @the-i18n-kit/cli
]
With @nuxt/eslint, register the addon instead of spreading the blocks:
// nuxt.config.ts
import { i18nKitEslintAddon } from '@the-i18n-kit/eslint-plugin-vue/nuxt'
export default defineNuxtConfig({
modules: ['@nuxt/eslint'],
hooks: { 'eslint:config:addons': addons => addons.push(i18nKitEslintAddon()) },
})
License
MIT
Related Packages
@the-i18n-kit/nuxt
Nuxt module that publishes the layer graph and locale table Nuxt already resolve...
16,307
11
@vue-sfc-i18n/eslint-plugin
ESLint plugin for enforcing i18n conventions in Vue SFC custom blocks
0
0
Version History
| Version | Released | License |
|---|---|---|
| 0.2.2 | MIT | |
| 0.2.1 | MIT | |
| 0.2.0 | MIT | |
| 0.1.2 | MIT | |
| 0.1.1 | MIT |