Skip to content

Commit 064637a

Browse files
committed
Update rules/always-return.js
1 parent 859a4be commit 064637a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/always-return.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ module.exports = {
173173
type: 'array',
174174
items: {
175175
type: 'string',
176-
pattern: '^\\w+$',
176+
pattern: '^[\\w$]+$',
177177
},
178178
uniqueItems: true,
179179
},

0 commit comments

Comments
 (0)