From f527e27b480aad41546bbf2ebcf086b6b155b53f Mon Sep 17 00:00:00 2001 From: Yosuke Ota Date: Fri, 21 Jan 2022 10:44:18 +0900 Subject: [PATCH] Add `vue/quote-props` rule (#1769) --- 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 `