Skip to content

Commit c9d92d5

Browse files
EriclmFloEdelmann
andauthored
Update lib/rules/define-macros-order.js
Changing items accepted by the rule. Co-authored-by: Flo Edelmann <[email protected]>
1 parent efd97d7 commit c9d92d5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/rules/define-macros-order.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,10 @@ module.exports = {
357357
properties: {
358358
order: {
359359
type: 'array',
360-
// items: {
361-
// enum: ORDER_SCHEMA
362-
// },
360+
items: {
361+
type: string,
362+
minLength: 1
363+
},
363364
uniqueItems: true,
364365
additionalItems: false
365366
},

0 commit comments

Comments
 (0)