From 443b7c9f6d04b139d1919aa4e009570f2dde3134 Mon Sep 17 00:00:00 2001 From: ota-meshi Date: Thu, 20 Jan 2022 15:52:11 +0900 Subject: [PATCH] Add `vue/quote-props` rule --- docs/rules/README.md | 1 + docs/rules/quote-props.md | 27 +++ lib/index.js | 1 + lib/rules/quote-props.js | 54 ++++++ lib/utils/index.js | 167 +++++++++++++----- tests/lib/rules/quote-props.js | 122 +++++++++++++ .../util-types/parser-services.ts | 6 +- typings/eslint/index.d.ts | 2 + 8 files changed, 337 insertions(+), 43 deletions(-) create mode 100644 docs/rules/quote-props.md create mode 100644 lib/rules/quote-props.js create mode 100644 tests/lib/rules/quote-props.js diff --git a/docs/rules/README.md b/docs/rules/README.md index 66a0eda1b..b74075445 100644 --- a/docs/rules/README.md +++ b/docs/rules/README.md @@ -399,6 +399,7 @@ The following rules extend the rules provided by ESLint itself and apply them to | [vue/object-shorthand](./object-shorthand.md) | require or disallow method and property shorthand syntax for object literals in `