You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/rules/index.md
+1
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@
11
11
|[@intlify/vue-i18n/<wbr>no-deprecated-i18n-component](./no-deprecated-i18n-component.html)| disallow using deprecated `<i18n>` components (in Vue I18n 9.0.0+) |:black_nib:|
12
12
|[@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+) ||
13
13
|[@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+) ||
14
+
|[@intlify/vue-i18n/<wbr>no-deprecated-modulo-syntax](./no-deprecated-modulo-syntax.html)| enforce modulo interpolation to be named interpolation |:black_nib:|
14
15
|[@intlify/vue-i18n/<wbr>no-html-messages](./no-html-messages.html)| disallow use HTML localization messages |:star:|
15
16
|[@intlify/vue-i18n/<wbr>no-i18n-t-path-prop](./no-i18n-t-path-prop.html)| disallow using `path` prop with `<i18n-t>`|:black_nib:|
16
17
|[@intlify/vue-i18n/<wbr>no-missing-keys](./no-missing-keys.html)| disallow missing locale message key at localization methods |:star:|
description: enforce modulo interpolation to be named interpolation
4
+
since: v3.0.0
5
+
---
6
+
7
+
# @intlify/vue-i18n/no-deprecated-modulo-syntax
8
+
9
+
> enforce modulo interpolation to be named interpolation
10
+
11
+
-:black_nib:️ The `--fix` option on the [command line](http://eslint.org/docs/user-guide/command-line-interface#fix) can automatically fix some of the problems reported by this rule.
12
+
13
+
This rule enforces modulo interpolation to be named interpolation
14
+
15
+
## :book: Rule Details
16
+
17
+
:-1: Examples of **incorrect** code for this rule:
0 commit comments