summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json9
2 files changed, 10 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 6f78e6d..5428817 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -245,7 +245,7 @@
- [ ] "prefer-rest-params"
- [ ] "prefer-spread"
- [ ] "prefer-template"
-- [ ] "quote-props"
+- [X] "quote-props"
- [ ] "quotes"
- [ ] "radix"
- [ ] "require-atomic-updates"
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index de8c64a..a3ec9cd 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -63,6 +63,15 @@
"prefer-reflect": [
"off"
],
+ "quote-props": [
+ "error",
+ "consistent-as-needed",
+ {
+ "keywords": true,
+ "numbers": true,
+ "unnecessary": true
+ }
+ ],
"require-jsdoc": [
"off"
],