Skip to content

Commit 1288bf1

Browse files
committed
update
1 parent 053dde2 commit 1288bf1

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
</p>
1010
<p align="center">ESLint plugin for Vue I18n</p>
1111

12+
<div align="center">
13+
[Online Playground](https://eslint-online-playground.netlify.app/#eslint-plugin-vue-i18n)
14+
[Documentation](https://eslint-plugin-vue-i18n.intlify.dev/)
15+
</div>
16+
1217
<h2 align="center">Supporting Intlify Project</h2>
1318

1419
Intlify Project is an open source project that is included Vue I18n and i18n tooling and libraries with its ongoing development made possible entirely by the support of Sponsors. If you would like to become a sponsor, please consider:

docs/index.md

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ hero:
1616
- theme: alt
1717
text: Get started
1818
link: /started
19+
- theme: alt
20+
text: Online Playground
21+
link: https://eslint-online-playground.netlify.app/#eslint-plugin-vue-i18n
1922
# features:
2023
# - title: Feature A
2124
# details: Lorem ipsum dolor sit amet, consectetur adipiscing elit

repro/eslint.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ export default [
99
{
1010
rules: {
1111
// override rules
12+
'@intlify/vue-i18n/no-duplicate-keys-in-locale': 'error',
13+
'@intlify/vue-i18n/no-dynamic-keys': 'error',
14+
'@intlify/vue-i18n/no-missing-keys-in-other-locales': 'error',
15+
'@intlify/vue-i18n/no-unknown-locale': 'error',
16+
'@intlify/vue-i18n/no-unused-keys': 'error',
17+
'@intlify/vue-i18n/prefer-sfc-lang-attr': 'error'
1218
},
1319
settings: {
1420
'vue-i18n': {

repro/src/components/MyComponent.vue

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
<template>
22
<p>{{ $t('hello') }}</p>
3-
<p>{{ $t('hi') }}</p>
43
</template>

0 commit comments

Comments
 (0)