From 7b7a67a6a869cf56b4b3012e2b03adc926cd2857 Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Sun, 20 Dec 2020 17:29:38 +0900 Subject: [PATCH] Chores: Add to documentation that eslint-plugin-jsonc and eslint-plugin-yml can be used --- docs/started.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/started.md b/docs/started.md index ab7a795c..764ecdf5 100644 --- a/docs/started.md +++ b/docs/started.md @@ -115,6 +115,12 @@ Also, `parserOptions` configured at the top level affect `.json` and `.yaml`. Th + ] ``` +### More lint on JSON and YAML in `` block + +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. + +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. + ## :question: FAQ ### What is the "Use the latest vue-eslint-parser" error?