Skip to content

Commit acbeef7

Browse files
authored
refactor: update eslint-config-eslint (#229)
1 parent 010806b commit acbeef7

File tree

3 files changed

+83
-7
lines changed

3 files changed

+83
-7
lines changed

package-lock.json

Lines changed: 81 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"devDependencies": {
3030
"eslint": "^9.28.0",
31-
"eslint-config-eslint": "^11.0.0",
31+
"eslint-config-eslint": "^12.0.0",
3232
"fetch-mock": "^12.5.2",
3333
"globals": "^16.2.0",
3434
"jest": "^29.7.0",

src/plugins/commit-message/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const { TAG_LABELS } = require("./util");
2525

2626
const TAG_REGEX = /^(?:feat|build|chore|docs|fix|refactor|test|ci|perf)!?: /u;
2727

28-
const TAG_SPACE_REGEX = /^(?:[a-z]+!?: )/u;
28+
const TAG_SPACE_REGEX = /^[a-z]+!?: /u;
2929

3030
const LOWERCASE_TAG_REGEX = /^[a-z]/u;
3131

0 commit comments

Comments
 (0)