Skip to content

Commit f16f35e

Browse files
committed
minor fix to schema validation
1 parent 11026e3 commit f16f35e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ module.exports = {
4848
type: "boolean",
4949
},
5050
},
51+
additionalProperties: false,
5152
},
5253
],
5354
messages: {
@@ -212,6 +213,7 @@ module.exports = {
212213
type: "boolean",
213214
},
214215
},
216+
additionalProperties: false,
215217
},
216218
],
217219
messages: {
@@ -266,6 +268,7 @@ module.exports = {
266268
type: "boolean",
267269
},
268270
},
271+
additionalProperties: false,
269272
},
270273
],
271274
messages: {
@@ -392,6 +395,7 @@ module.exports = {
392395
type: "boolean",
393396
},
394397
},
398+
additionalProperties: false,
395399
},
396400
],
397401
messages: {
@@ -529,6 +533,7 @@ module.exports = {
529533
type: "boolean",
530534
},
531535
},
536+
additionalProperties: false,
532537
},
533538
],
534539
messages: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@getify/eslint-plugin-proper-arrows",
3-
"version": "11.0.1",
3+
"version": "11.0.2",
44
"description": "ESLint rules to ensure proper arrow function definitions",
55
"main": "./lib/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)