Skip to content

Commit

Permalink
Update: add missing additionalProperties: false to some rules' sche…
Browse files Browse the repository at this point in the history
…ma (#13198)
  • Loading branch information
mdjermanovic committed Jun 19, 2020
1 parent 949a5cd commit 638a6d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/rules/id-match.js
Expand Up @@ -39,7 +39,8 @@ module.exports = {
type: "boolean",
default: false
}
}
},
additionalProperties: false
}
],
messages: {
Expand Down
3 changes: 2 additions & 1 deletion lib/rules/no-unused-vars.js
Expand Up @@ -68,7 +68,8 @@ module.exports = {
caughtErrorsIgnorePattern: {
type: "string"
}
}
},
additionalProperties: false
}
]
}
Expand Down
3 changes: 2 additions & 1 deletion lib/rules/padded-blocks.js
Expand Up @@ -58,7 +58,8 @@ module.exports = {
allowSingleLineBlocks: {
type: "boolean"
}
}
},
additionalProperties: false
}
],

Expand Down

0 comments on commit 638a6d6

Please sign in to comment.