diff --git a/lib/rules/method.js b/lib/rules/method.js index 45c5020..0e2a868 100644 --- a/lib/rules/method.js +++ b/lib/rules/method.js @@ -182,6 +182,7 @@ module.exports = { items: [{ type: "string" }], }, }, + additionalProperties: false, }, objectMatches: { type: "array", diff --git a/lib/rules/property.js b/lib/rules/property.js index 08f9883..4ce9b79 100644 --- a/lib/rules/property.js +++ b/lib/rules/property.js @@ -44,6 +44,7 @@ module.exports = { items: [{ type: "string" }], }, }, + additionalProperties: false, }, variableTracing: { type: "boolean" }, },