summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/lib/rules/quote-props.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/lib/rules/quote-props.js')
-rw-r--r--tools/node_modules/eslint/lib/rules/quote-props.js15
1 files changed, 10 insertions, 5 deletions
diff --git a/tools/node_modules/eslint/lib/rules/quote-props.js b/tools/node_modules/eslint/lib/rules/quote-props.js
index 7184bd34d3..f4582dd1f4 100644
--- a/tools/node_modules/eslint/lib/rules/quote-props.js
+++ b/tools/node_modules/eslint/lib/rules/quote-props.js
@@ -32,7 +32,8 @@ module.exports = {
type: "array",
items: [
{
- enum: ["always", "as-needed", "consistent", "consistent-as-needed"]
+ enum: ["always", "as-needed", "consistent", "consistent-as-needed"],
+ default: "always"
}
],
minItems: 0,
@@ -42,19 +43,23 @@ module.exports = {
type: "array",
items: [
{
- enum: ["always", "as-needed", "consistent", "consistent-as-needed"]
+ enum: ["always", "as-needed", "consistent", "consistent-as-needed"],
+ default: "always"
},
{
type: "object",
properties: {
keywords: {
- type: "boolean"
+ type: "boolean",
+ default: false
},
unnecessary: {
- type: "boolean"
+ type: "boolean",
+ default: true
},
numbers: {
- type: "boolean"
+ type: "boolean",
+ default: false
}
},
additionalProperties: false