Skip to content

Commit 83cb12b

Browse files
committed
🆙 update: change category
1 parent a4385b6 commit 83cb12b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/rules/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
|:--------|:------------|:---|
1010
| [vue-i18n/<wbr>no-html-messages](./no-html-messages.html) | disallow use HTML localization messages | :star: |
1111
| [vue-i18n/<wbr>no-missing-keys](./no-missing-keys.html) | disallow missing locale message key at localization methods | :star: |
12+
| [vue-i18n/<wbr>no-raw-text](./no-raw-text.html) | disallow to string literal in template or JSX | :star: |
1213
| [vue-i18n/<wbr>no-v-html](./no-v-html.html) | disallow use of localization methods on v-html to prevent XSS attack | :star: |
1314

1415
## Best Practices
1516

1617
| Rule ID | Description | |
1718
|:--------|:------------|:---|
1819
| [vue-i18n/<wbr>no-dynamic-keys](./no-dynamic-keys.html) | disallow localization dynamic keys at localization methods | |
19-
| [vue-i18n/<wbr>no-raw-text](./no-raw-text.html) | disallow to string literal in template or JSX | :star: |
2020
| [vue-i18n/<wbr>no-unused-keys](./no-unused-keys.html) | disallow unused localization keys | |
2121

lib/rules/no-raw-text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ module.exports = {
8080
type: 'suggestion',
8181
docs: {
8282
description: 'disallow to string literal in template or JSX',
83-
category: 'Best Practices',
83+
category: 'Recommended',
8484
recommended: true
8585
},
8686
fixable: null,

0 commit comments

Comments
 (0)