Skip to content

Commit 5cbf5b8

Browse files
committed
fix: disallow extra properties in rule options
1 parent b2f2e9c commit 5cbf5b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/rules/no-raw-text.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,8 @@ export = createRule({
839839
ignoreText: {
840840
type: 'array'
841841
}
842-
}
842+
},
843+
additionalProperties: false
843844
}
844845
]
845846
},

0 commit comments

Comments
 (0)