Skip to content

Commit efa6182

Browse files
Update lib/rules/prop-name-casing.js
Co-authored-by: Flo Edelmann <git@flo-edelmann.de>
1 parent ba57494 commit efa6182

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

lib/rules/prop-name-casing.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,13 @@ module.exports = {
6969
{
7070
type: 'object',
7171
properties: {
72-
ignores: { type: 'array' }
73-
}
72+
ignores: {
73+
type: 'array',
74+
items: { type: 'string' },
75+
uniqueItems: true
76+
}
77+
},
78+
additionalProperties: false
7479
}
7580
],
7681
messages: {

0 commit comments

Comments
 (0)