Skip to content

Commit b51d973

Browse files
committed
fix: disallow extra properties in rule options
1 parent fad5029 commit b51d973

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rules/prefer-await-to-then.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module.exports = {
2525
type: 'boolean',
2626
},
2727
},
28+
additionalProperties: false,
2829
},
2930
],
3031
messages: {

0 commit comments

Comments
 (0)