Skip to content

Commit 0cd3d3b

Browse files
Include slot-scope in attributes-order (#440)
Fixes vuejs/eslint-plugin-vue#432
1 parent b5bd53d commit 0cd3d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/attributes-order.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function getAttributeType (name, isDirective) {
2929
return 'DEFINITION'
3030
} else if (name === 'id') {
3131
return 'GLOBAL'
32-
} else if (name === 'ref' || name === 'key' || name === 'slot') {
32+
} else if (name === 'ref' || name === 'key' || name === 'slot' || name === 'slot-scope') {
3333
return 'UNIQUE'
3434
} else {
3535
return 'OTHER_ATTR'

0 commit comments

Comments
 (0)