Skip to content

Commit 8319ea4

Browse files
authored
fix: correcting glob expression for kebab-case
1 parent 8c33dab commit 8319ea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/constants/naming-convention.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const SNAKE_CASE = '+([a-z])*(_+([a-z0-9]))';
2222
/**
2323
* @example hello, hello-world
2424
*/
25-
const KEBAB_CASE = '+([a-z])*(-+([a-z0-9]))';
25+
const KEBAB_CASE = '+([a-z])*([a-z0-9])*(-+([a-z0-9]))';
2626

2727
/**
2828
* @example HELLO, HELLO_WORLD

0 commit comments

Comments
 (0)