Skip to content

Commit 638a6d6

Browse files
authored
Update: add missing additionalProperties: false to some rules' schema (#13198)
1 parent 949a5cd commit 638a6d6

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

lib/rules/id-match.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ module.exports = {
3939
type: "boolean",
4040
default: false
4141
}
42-
}
42+
},
43+
additionalProperties: false
4344
}
4445
],
4546
messages: {

lib/rules/no-unused-vars.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ module.exports = {
6868
caughtErrorsIgnorePattern: {
6969
type: "string"
7070
}
71-
}
71+
},
72+
additionalProperties: false
7273
}
7374
]
7475
}

lib/rules/padded-blocks.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ module.exports = {
5858
allowSingleLineBlocks: {
5959
type: "boolean"
6060
}
61-
}
61+
},
62+
additionalProperties: false
6263
}
6364
],
6465

0 commit comments

Comments
 (0)