Skip to content

Commit b720cf8

Browse files
authored
fix: enforce unique items in the options of prefer-logical-properties (#176)
fix: Enforce unique items in the options of `prefer-logical-properties`
1 parent 1e8e225 commit b720cf8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rules/prefer-logical-properties.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,14 @@ export default {
154154
items: {
155155
type: "string",
156156
},
157+
uniqueItems: true,
157158
},
158159
allowUnits: {
159160
type: "array",
160161
items: {
161162
type: "string",
162163
},
164+
uniqueItems: true,
163165
},
164166
},
165167
additionalProperties: false,

0 commit comments

Comments
 (0)