Skip to content

Commit

Permalink
task: rename to -ex plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
FeedItBack-Lee committed Jan 6, 2025
1 parent 68752f7 commit cde5303
Show file tree
Hide file tree
Showing 72 changed files with 341 additions and 341 deletions.
4 changes: 2 additions & 2 deletions .changeset/afraid-queens-shave.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@intlify/eslint-plugin-vue-i18n-ex": major
"eslint-plugin-vue-i18n-ex": major
---

fix(deps): update dependency @intlify/core-base to v10
fix(deps): update dependency core-base to v10
6 changes: 3 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

- The issue list of this repo is **exclusively** for bug reports and feature requests. Non-conforming issues will be closed immediately.

- For simple beginner questions, you can get quick answers from [`#vue-i18n` channel of Discord](https://chat.vuejs.org/)
- For simple beginner questions, you can get quick answers from [`#vue-i18n-ex` channel of Discord](https://chat.vuejs.org/)

- For more complicated questions, you can use [the official forum](http://forum.vuejs.org/) or StackOverflow. Make sure to provide enough information when asking your questions - this makes it easier for others to help you!

Expand Down Expand Up @@ -43,12 +43,12 @@

### Work Step Example

- Fork the repository from [@intlify/eslint-plugin-vue-i18n-ex](https://github.com/intlify/eslint-plugin-vue-i18n-ex) !
- Fork the repository from [@intlify/eslint-plugin-vue-i18n](https://github.com/intlify/eslint-plugin-vue-i18n-ex) !
- Create your topic branch from `master`: `git branch my-new-topic origin/master`
- Add codes and pass tests !
- Commit your changes: `git commit -am 'Add some topic'`
- Push to the branch: `git push origin my-new-topic`
- Submit a pull request to `dev` branch of `@intlify/eslint-plugin-vue-i18n-ex` repository !
- Submit a pull request to `dev` branch of `@intlify/eslint-plugin-vue-i18n` repository !

## Development Setup

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
version: pnpm run version:ci
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: pnpm run release
commit: 'chore: release `@intlify/eslint-plugin-vue-i18n-ex`'
title: 'chore: release `@intlify/eslint-plugin-vue-i18n-ex`'
commit: 'chore: release `eslint-plugin-vue-i18n-ex`'
title: 'chore: release `eslint-plugin-vue-i18n-ex`'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
16 changes: 8 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @intlify/eslint-plugin-vue-i18n-ex
# eslint-plugin-vue-i18n-ex

## 4.0.0-next.1

Expand Down Expand Up @@ -64,7 +64,7 @@

- [#459](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/459) [`8b3d347`](https://github.com/intlify/eslint-plugin-vue-i18n-ex/commit/8b3d347e9e10b4cce0b8527675c230654d8e28bd) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency @eslint/eslintrc to v3

- [#474](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/474) [`ebd7353`](https://github.com/intlify/eslint-plugin-vue-i18n-ex/commit/ebd7353ada4d65eec0f504887db0911a80819979) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: wrong suggestion for remove all unused keys in `vue-i18n/no-unused-keys` rule
- [#474](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/474) [`ebd7353`](https://github.com/intlify/eslint-plugin-vue-i18n-ex/commit/ebd7353ada4d65eec0f504887db0911a80819979) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: wrong suggestion for remove all unused keys in `vue-i18n-ex/no-unused-keys` rule

- [#413](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/413) [`0fadd81`](https://github.com/intlify/eslint-plugin-vue-i18n-ex/commit/0fadd81f0551c380514744573b4c3fdac9b9d4fa) Thanks [@dargmuesli](https://github.com/dargmuesli)! - Pin `@intlify` dependencies to tag `beta` to try to prevent renovate from downgrading.

Expand Down Expand Up @@ -124,7 +124,7 @@

### Patch Changes

- [#474](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/474) [`ebd7353`](https://github.com/intlify/eslint-plugin-vue-i18n-ex/commit/ebd7353ada4d65eec0f504887db0911a80819979) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: wrong suggestion for remove all unused keys in `vue-i18n/no-unused-keys` rule
- [#474](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/474) [`ebd7353`](https://github.com/intlify/eslint-plugin-vue-i18n-ex/commit/ebd7353ada4d65eec0f504887db0911a80819979) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: wrong suggestion for remove all unused keys in `vue-i18n-ex/no-unused-keys` rule

## 3.0.0-next.6

Expand Down Expand Up @@ -349,7 +349,7 @@
- [#148](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/148) Add `no-missing-keys-in-other-locales` rule ([@ota-meshi](https://github.com/ota-meshi))
- [#148](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/148) Change `no-missing-keys` rule to not report if there is one matching key ([@ota-meshi](https://github.com/ota-meshi))
- [#147](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/147) Add `valid-message-syntax` rule ([@ota-meshi](https://github.com/ota-meshi))
- [#145](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/145) Supports vue-i18n v9 message format ([@ota-meshi](https://github.com/ota-meshi))
- [#145](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/145) Supports vue-i18n-ex v9 message format ([@ota-meshi](https://github.com/ota-meshi))

#### :bug: Bug Fixes

Expand All @@ -371,8 +371,8 @@
#### :star: Features

- [#114](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/114) Add support for multiple locale directories ([@ota-meshi](https://github.com/ota-meshi))
- [#116](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/116) Add `@intlify/vue-i18n/key-format-style` rule ([@ota-meshi](https://github.com/ota-meshi))
- [#112](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/112) Add `@intlify/vue-i18n/no-duplicate-keys-in-locale` rule and change `@intlify/vue-i18n/no-missing-keys` rule to not report if there is one matching key in each locale ([@ota-meshi](https://github.com/ota-meshi))
- [#116](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/116) Add `vue-i18n-ex/key-format-style` rule ([@ota-meshi](https://github.com/ota-meshi))
- [#112](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/112) Add `vue-i18n-ex/no-duplicate-keys-in-locale` rule and change `vue-i18n-ex/no-missing-keys` rule to not report if there is one matching key in each locale ([@ota-meshi](https://github.com/ota-meshi))

#### :bug: Bug Fixes

Expand Down Expand Up @@ -425,7 +425,7 @@

#### :star: Features

- [#83](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/83) Add `enableFix` option to `@intlify/vue-i18n/no-unused-keys` rule ([@ota-meshi](https://github.com/ota-meshi))
- [#83](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/83) Add `enableFix` option to `vue-i18n-ex/no-unused-keys` rule ([@ota-meshi](https://github.com/ota-meshi))
- [#80](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/80) Add support for `<i18n>` blocks of SFC. ([@ota-meshi](https://github.com/ota-meshi))

#### Committers: 1
Expand All @@ -440,7 +440,7 @@

#### :zap: Improvement Features

- [#75](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/75) Change "settings['vue-i18n'].localeDir" to can specify object options. ([@ota-meshi](https://github.com/ota-meshi))
- [#75](https://github.com/intlify/eslint-plugin-vue-i18n-ex/pull/75) Change "settings['vue-i18n-ex'].localeDir" to can specify object options. ([@ota-meshi](https://github.com/ota-meshi))

#### Committers: 1

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<p align="center"><img width="143px" height="130px" src="./assets/eslint-plugin-vue-i18n-ex.svg" alt="ESLint plugin for Vue I18n logo"></p>

<h1 align="center">@intlify/eslint-plugin-vue-i18n-ex</h1>
<h1 align="center">eslint-plugin-vue-i18n-ex</h1>
<p align="center">
<a href="https://github.com/intlify/eslint-plugin-vue-i18n-ex/actions?query=workflow%3ATest"><img src="https://github.com/intlify/eslint-plugin-vue-i18n-ex/workflows/Test/badge.svg?branch=master" alt="Test Status"></a>
</p>
<p align="center">
<a href="https://www.npmjs.com/package/@intlify/eslint-plugin-vue-i18n-ex"><img src="https://img.shields.io/npm/v/@intlify/eslint-plugin-vue-i18n-ex.svg" alt="NPM"></a>
<a href="https://www.npmjs.com/package/eslint-plugin-vue-i18n-ex"><img src="https://img.shields.io/npm/v/eslint-plugin-vue-i18n-ex.svg" alt="NPM"></a>
</p>
<p align="center">ESLint plugin for Vue I18n</p>

Expand Down
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions docs/.vitepress/components/eslint-code-block.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default {
}
},
settings: {
'vue-i18n': {
'vue-i18n-ex': {
localeDir: (this.$resourceGroup
? this.$resourceGroup
.getFiles()
Expand Down Expand Up @@ -185,7 +185,7 @@ export default {
const linter = (this.linter = new Linter({ cwd: '/path' }))
for (const ruleId of Object.keys(rules)) {
linter.defineRule(`@intlify/vue-i18n/${ruleId}`, rules[ruleId])
linter.defineRule(`vue-i18n-ex/${ruleId}`, rules[ruleId])
}
linter.defineParser('vue-eslint-parser', vueESLintParser)
linter.defineParser('jsonc-eslint-parser', jsoncESLintParser)
Expand Down
File renamed without changes
File renamed without changes
44 changes: 22 additions & 22 deletions docs/rules/index.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
# Available Rules

- :star: mark: the rule which is enabled by `plugin:@intlify/vue-i18n/recommended` or `*.configs["flat/recommended"]` preset.
- :star: mark: the rule which is enabled by `plugin:vue-i18n-ex/recommended` or `*.configs["flat/recommended"]` preset.
- :black_nib: mark: the rule which is fixable by `eslint --fix` command.

## Recommended

<!--prettier-ignore-->
| Rule ID | Description | |
|:--------|:------------|:---|
| [@intlify/vue-i18n/<wbr>no-deprecated-i18n-component](./no-deprecated-i18n-component.html) | disallow using deprecated `<i18n>` components (in Vue I18n 9.0.0+) | :star::black_nib: |
| [@intlify/vue-i18n/<wbr>no-deprecated-i18n-place-attr](./no-deprecated-i18n-place-attr.html) | disallow using deprecated `place` attribute (Removed in Vue I18n 9.0.0+) | :star: |
| [@intlify/vue-i18n/<wbr>no-deprecated-i18n-places-prop](./no-deprecated-i18n-places-prop.html) | disallow using deprecated `places` prop (Removed in Vue I18n 9.0.0+) | :star: |
| [@intlify/vue-i18n/<wbr>no-deprecated-modulo-syntax](./no-deprecated-modulo-syntax.html) | enforce modulo interpolation to be named interpolation | :star::black_nib: |
| [@intlify/vue-i18n/<wbr>no-deprecated-tc](./no-deprecated-tc.html) | disallow using deprecated `tc` or `$tc` (Deprecated in Vue I18n 10.0.0, removed fully in Vue I18n 11.0.0) | :star: |
| [@intlify/vue-i18n/<wbr>no-deprecated-v-t](./no-deprecated-v-t.html) | disallow using deprecated `v-t` custom directive (Deprecated in Vue I18n 11.0.0, removed fully in Vue I18n 12.0.0) | :star: |
| [@intlify/vue-i18n/<wbr>no-html-messages](./no-html-messages.html) | disallow use HTML localization messages | :star: |
| [@intlify/vue-i18n/<wbr>no-i18n-t-path-prop](./no-i18n-t-path-prop.html) | disallow using `path` prop with `<i18n-t>` | :star::black_nib: |
| [@intlify/vue-i18n/<wbr>no-missing-keys](./no-missing-keys.html) | disallow missing locale message key at localization methods | :star: |
| [@intlify/vue-i18n/<wbr>no-raw-text](./no-raw-text.html) | disallow to string literal in template or JSX | :star: |
| [@intlify/vue-i18n/<wbr>no-v-html](./no-v-html.html) | disallow use of localization methods on v-html to prevent XSS attack | :star: |
| [@intlify/vue-i18n/<wbr>valid-message-syntax](./valid-message-syntax.html) | disallow invalid message syntax | :star: |
| [vue-i18n-ex/<wbr>no-deprecated-i18n-component](./no-deprecated-i18n-component.html) | disallow using deprecated `<i18n>` components (in Vue I18n 9.0.0+) | :star::black_nib: |
| [vue-i18n-ex/<wbr>no-deprecated-i18n-place-attr](./no-deprecated-i18n-place-attr.html) | disallow using deprecated `place` attribute (Removed in Vue I18n 9.0.0+) | :star: |
| [vue-i18n-ex/<wbr>no-deprecated-i18n-places-prop](./no-deprecated-i18n-places-prop.html) | disallow using deprecated `places` prop (Removed in Vue I18n 9.0.0+) | :star: |
| [vue-i18n-ex/<wbr>no-deprecated-modulo-syntax](./no-deprecated-modulo-syntax.html) | enforce modulo interpolation to be named interpolation | :star::black_nib: |
| [vue-i18n-ex/<wbr>no-deprecated-tc](./no-deprecated-tc.html) | disallow using deprecated `tc` or `$tc` (Deprecated in Vue I18n 10.0.0, removed fully in Vue I18n 11.0.0) | :star: |
| [vue-i18n-ex/<wbr>no-deprecated-v-t](./no-deprecated-v-t.html) | disallow using deprecated `v-t` custom directive (Deprecated in Vue I18n 11.0.0, removed fully in Vue I18n 12.0.0) | :star: |
| [vue-i18n-ex/<wbr>no-html-messages](./no-html-messages.html) | disallow use HTML localization messages | :star: |
| [vue-i18n-ex/<wbr>no-i18n-t-path-prop](./no-i18n-t-path-prop.html) | disallow using `path` prop with `<i18n-t>` | :star::black_nib: |
| [vue-i18n-ex/<wbr>no-missing-keys](./no-missing-keys.html) | disallow missing locale message key at localization methods | :star: |
| [vue-i18n-ex/<wbr>no-raw-text](./no-raw-text.html) | disallow to string literal in template or JSX | :star: |
| [vue-i18n-ex/<wbr>no-v-html](./no-v-html.html) | disallow use of localization methods on v-html to prevent XSS attack | :star: |
| [vue-i18n-ex/<wbr>valid-message-syntax](./valid-message-syntax.html) | disallow invalid message syntax | :star: |

## Best Practices

<!--prettier-ignore-->
| Rule ID | Description | |
|:--------|:------------|:---|
| [@intlify/vue-i18n/<wbr>key-format-style](./key-format-style.html) | enforce specific casing for localization keys | |
| [@intlify/vue-i18n/<wbr>no-duplicate-keys-in-locale](./no-duplicate-keys-in-locale.html) | disallow duplicate localization keys within the same locale | |
| [@intlify/vue-i18n/<wbr>no-dynamic-keys](./no-dynamic-keys.html) | disallow localization dynamic keys at localization methods | |
| [@intlify/vue-i18n/<wbr>no-missing-keys-in-other-locales](./no-missing-keys-in-other-locales.html) | disallow missing locale message keys in other locales | |
| [@intlify/vue-i18n/<wbr>no-unknown-locale](./no-unknown-locale.html) | disallow unknown locale name | |
| [@intlify/vue-i18n/<wbr>no-unused-keys](./no-unused-keys.html) | disallow unused localization keys | :black_nib: |
| [@intlify/vue-i18n/<wbr>prefer-sfc-lang-attr](./prefer-sfc-lang-attr.html) | require lang attribute on `<i18n>` block | :black_nib: |
| [vue-i18n-ex/<wbr>key-format-style](./key-format-style.html) | enforce specific casing for localization keys | |
| [vue-i18n-ex/<wbr>no-duplicate-keys-in-locale](./no-duplicate-keys-in-locale.html) | disallow duplicate localization keys within the same locale | |
| [vue-i18n-ex/<wbr>no-dynamic-keys](./no-dynamic-keys.html) | disallow localization dynamic keys at localization methods | |
| [vue-i18n-ex/<wbr>no-missing-keys-in-other-locales](./no-missing-keys-in-other-locales.html) | disallow missing locale message keys in other locales | |
| [vue-i18n-ex/<wbr>no-unknown-locale](./no-unknown-locale.html) | disallow unknown locale name | |
| [vue-i18n-ex/<wbr>no-unused-keys](./no-unused-keys.html) | disallow unused localization keys | :black_nib: |
| [vue-i18n-ex/<wbr>prefer-sfc-lang-attr](./prefer-sfc-lang-attr.html) | require lang attribute on `<i18n>` block | :black_nib: |

## Stylistic Issues

<!--prettier-ignore-->
| Rule ID | Description | |
|:--------|:------------|:---|
| [@intlify/vue-i18n/<wbr>prefer-linked-key-with-paren](./prefer-linked-key-with-paren.html) | enforce linked key to be enclosed in parentheses | :black_nib: |
| [@intlify/vue-i18n/<wbr>sfc-locale-attr](./sfc-locale-attr.html) | require or disallow the locale attribute on `<i18n>` block | |
| [vue-i18n-ex/<wbr>prefer-linked-key-with-paren](./prefer-linked-key-with-paren.html) | enforce linked key to be enclosed in parentheses | :black_nib: |
| [vue-i18n-ex/<wbr>sfc-locale-attr](./sfc-locale-attr.html) | require or disallow the locale attribute on `<i18n>` block | |
28 changes: 14 additions & 14 deletions docs/rules/key-format-style.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: '@intlify/vue-i18n/key-format-style'
title: 'vue-i18n-ex/key-format-style'
description: enforce specific casing for localization keys
since: v0.9.0
---

# @intlify/vue-i18n/key-format-style
# vue-i18n-ex/key-format-style

> enforce specific casing for localization keys
Expand All @@ -28,7 +28,7 @@ Also, the following localization key definitions are reported as errors, because
<eslint-code-block language="yaml">
```yaml
# eslint @intlify/vue-i18n/key-format-style: 'error'
# eslint vue-i18n-ex/key-format-style: 'error'

# ✗ BAD: Use array elements.
- message1
Expand All @@ -46,7 +46,7 @@ Also, the following localization key definitions are reported as errors, because
```json
{
"@intlify/vue-i18n/key-format-style": [
"vue-i18n-ex/key-format-style": [
"error",
"camelCase" | "kebab-case" | "lowercase" | "snake_case",
{
Expand All @@ -66,7 +66,7 @@ Also, the following localization key definitions are reported as errors, because
<eslint-code-block language="yaml">

```yaml
# eslint @intlify/vue-i18n/key-format-style: ['error', 'camelCase']
# eslint vue-i18n-ex/key-format-style: ['error', 'camelCase']

# ✓ GOOD
appTitle: I18N Management System
Expand All @@ -79,7 +79,7 @@ appTitle: I18N Management System
<eslint-code-block language="yaml">
```yaml
# eslint @intlify/vue-i18n/key-format-style: ['error', 'camelCase']
# eslint vue-i18n-ex/key-format-style: ['error', 'camelCase']

# ✗ BAD
app-title: I18N Management System
Expand All @@ -93,7 +93,7 @@ app_title: I18N Management System
<eslint-code-block language="yaml">
```yaml
# eslint @intlify/vue-i18n/key-format-style: ['error', 'kebab-case']
# eslint vue-i18n-ex/key-format-style: ['error', 'kebab-case']

# ✓ GOOD
app-title: I18N Management System
Expand All @@ -106,7 +106,7 @@ app-title: I18N Management System
<eslint-code-block language="yaml">
```yaml
# eslint @intlify/vue-i18n/key-format-style: ['error', 'kebab-case']
# eslint vue-i18n-ex/key-format-style: ['error', 'kebab-case']

# ✗ BAD
appTitle: I18N Management System
Expand All @@ -120,7 +120,7 @@ app_title: I18N Management System
<eslint-code-block language="yaml">
```yaml
# eslint @intlify/vue-i18n/key-format-style: ['error', 'lowercase']
# eslint vue-i18n-ex/key-format-style: ['error', 'lowercase']

# ✓ GOOD
apptitle: I18N Management System
Expand All @@ -133,7 +133,7 @@ apptitle: I18N Management System
<eslint-code-block language="yaml">
```yaml
# eslint @intlify/vue-i18n/key-format-style: ['error', 'lowercase']
# eslint vue-i18n-ex/key-format-style: ['error', 'lowercase']

# ✗ BAD
appTitle: I18N Management System
Expand All @@ -148,7 +148,7 @@ APP_TITLE: I18N Management System
<eslint-code-block language="yaml">
```yaml
# eslint @intlify/vue-i18n/key-format-style: ['error', 'snake_case']
# eslint vue-i18n-ex/key-format-style: ['error', 'snake_case']

# ✓ GOOD
app_title: I18N Management System
Expand All @@ -161,7 +161,7 @@ app_title: I18N Management System
<eslint-code-block language="yaml">
```yaml
# eslint @intlify/vue-i18n/key-format-style: ['error', 'snake_case']
# eslint vue-i18n-ex/key-format-style: ['error', 'snake_case']

# ✗ BAD
appTitle: I18N Management System
Expand All @@ -175,7 +175,7 @@ app-title: I18N Management System
<eslint-code-block language="yaml">

```yaml
# eslint @intlify/vue-i18n/key-format-style: ['error', 'camelCase', {allowArray: true}]
# eslint vue-i18n-ex/key-format-style: ['error', 'camelCase', {allowArray: true}]
# ✓ GOOD
- message1
Expand All @@ -187,7 +187,7 @@ app-title: I18N Management System

## :rocket: Version

This rule was introduced in `@intlify/eslint-plugin-vue-i18n-ex` v0.9.0
This rule was introduced in `eslint-plugin-vue-i18n-ex` v0.9.0

## :mag: Implementation

Expand Down
8 changes: 4 additions & 4 deletions docs/rules/keys-order.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @intlify/vue-i18n/keys-order
# vue-i18n-ex/keys-order

> enforce order of localization keys
Expand All @@ -15,7 +15,7 @@ This rule is useful to provide browsability of localization keys.
<eslint-code-block fix language="json">

```json
/* eslint @intlify/vue-i18n/keys-order: 'error' */
/* eslint vue-i18n-ex/keys-order: 'error' */

// ✗ BAD
{
Expand All @@ -32,7 +32,7 @@ This rule is useful to provide browsability of localization keys.
<eslint-code-block fix language="json">

```json
/* eslint @intlify/vue-i18n/keys-order: 'error' */
/* eslint vue-i18n-ex/keys-order: 'error' */

// ✓ GOOD
{
Expand All @@ -48,7 +48,7 @@ This rule is useful to provide browsability of localization keys.

```json
{
"@intlify/vue-i18n/keys-order": [
"vue-i18n-ex/keys-order": [
"error",
{
"order": "desc"
Expand Down
Loading

0 comments on commit cde5303

Please sign in to comment.