Skip to content

Commit d5810c3

Browse files
authored
Chores: Add to documentation that eslint-plugin-jsonc and eslint-plugin-yml can be used (#144)
1 parent e1e64ab commit d5810c3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: docs/started.md

+6
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ Also, `parserOptions` configured at the top level affect `.json` and `.yaml`. Th
115115
+ ]
116116
```
117117

118+
### More lint on JSON and YAML in `<i18n>` block
119+
120+
You can install [eslint-plugin-jsonc](https://ota-meshi.github.io/eslint-plugin-jsonc/) and [eslint-plugin-yml](https://ota-meshi.github.io/eslint-plugin-yml/). These 2 plugins support Vue custom blocks.
121+
122+
You can also use [jsonc/vue-custom-block/no-parsing-error](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/vue-custom-block/no-parsing-error.html) and [yml/vue-custom-block/no-parsing-error](https://ota-meshi.github.io/eslint-plugin-yml/rules/vue-custom-block/no-parsing-error.html) rules to find JSON and YAML parsing errors.
123+
118124
## :question: FAQ
119125

120126
### What is the "Use the latest vue-eslint-parser" error?

0 commit comments

Comments
 (0)