Skip to content

Commit

Permalink
feat: add use prefix to boolean name checking
Browse files Browse the repository at this point in the history
Fixes the semantic-release-config error on semantic-release v23
  • Loading branch information
SimeonC committed Apr 18, 2024
1 parent 1e516d9 commit 7e9bfdb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-config/src/rules/namingConvention.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export const namingRules: Linter.RulesRecord = {
'does',
'will',
'allow',
'use',
];
return `^(disabled$|${booleanValues.join(
'|',
Expand Down
6 changes: 6 additions & 0 deletions packages/semantic-release-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
"version": "7.1.0",
"main": "index.js",
"files": ["with-npm-publish/package.json", "withNpmPublish.js"],
"exports": {
".": "./index.js",
"./with-npm-publish": "./withNpmPublish.js",
"./package.json": "./package.json",
"./with-npm-publish/package.json": "./with-npm-publish/package.json"
},
"dependencies": {
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/exec": "^6.0.3",
Expand Down

0 comments on commit 7e9bfdb

Please sign in to comment.