Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jan 27, 2025
1 parent 053dde2 commit 1288bf1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
</p>
<p align="center">ESLint plugin for Vue I18n</p>

<div align="center">
[Online Playground](https://eslint-online-playground.netlify.app/#eslint-plugin-vue-i18n)
[Documentation](https://eslint-plugin-vue-i18n.intlify.dev/)
</div>

<h2 align="center">Supporting Intlify Project</h2>

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:
Expand Down
3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ hero:
- theme: alt
text: Get started
link: /started
- theme: alt
text: Online Playground
link: https://eslint-online-playground.netlify.app/#eslint-plugin-vue-i18n
# features:
# - title: Feature A
# details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
Expand Down
6 changes: 6 additions & 0 deletions repro/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ export default [
{
rules: {
// override rules
'@intlify/vue-i18n/no-duplicate-keys-in-locale': 'error',
'@intlify/vue-i18n/no-dynamic-keys': 'error',
'@intlify/vue-i18n/no-missing-keys-in-other-locales': 'error',
'@intlify/vue-i18n/no-unknown-locale': 'error',
'@intlify/vue-i18n/no-unused-keys': 'error',
'@intlify/vue-i18n/prefer-sfc-lang-attr': 'error'
},
settings: {
'vue-i18n': {
Expand Down
1 change: 0 additions & 1 deletion repro/src/components/MyComponent.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<template>
<p>{{ $t('hello') }}</p>
<p>{{ $t('hi') }}</p>
</template>

0 comments on commit 1288bf1

Please sign in to comment.