forked from delta-io/delta-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
12 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,15 @@ | ||
const Configuration = { | ||
/* | ||
* Resolve and load @commitlint/config-conventional from node_modules. | ||
* Referenced packages must be installed | ||
*/ | ||
module.exports = { | ||
extends: ['@commitlint/config-conventional'], | ||
/* | ||
* Resolve and load conventional-changelog-atom from node_modules. | ||
* Referenced packages must be installed | ||
*/ | ||
parserPreset: 'conventional-changelog-atom', | ||
/* | ||
* Resolve and load @commitlint/format from node_modules. | ||
* Referenced package must be installed | ||
*/ | ||
formatter: '@commitlint/format', | ||
/* | ||
* Any rules defined here will override rules from @commitlint/config-conventional | ||
*/ | ||
// Workaround for https://github.com/dependabot/dependabot-core/issues/5923 | ||
ignores: [(message) => /^Bumps \[.+]\(.+\) from .+ to .+\.$/m.test(message)], | ||
rules: { | ||
'type-enum': [2, 'always', ['foo']], | ||
'body-max-length': [0, 'always'], | ||
'body-max-line-length': [0, 'always'], | ||
'footer-max-length': [0, 'always'], | ||
'footer-max-line-length': [0, 'always'], | ||
'header-max-length': [0, 'always'], | ||
'scope-max-length': [0, 'always'], | ||
'subject-max-length': [0, 'always'], | ||
'type-max-length': [0, 'always'], | ||
}, | ||
/* | ||
* Functions that return true if commitlint should ignore the given message. | ||
*/ | ||
ignores: [(commit) => commit === ''], | ||
/* | ||
* Whether commitlint uses the default ignore rules. | ||
*/ | ||
defaultIgnores: true, | ||
/* | ||
* Custom URL to show upon failure | ||
*/ | ||
helpUrl: | ||
'https://github.com/conventional-changelog/commitlint/#what-is-commitlint', | ||
/* | ||
* Custom prompt configs | ||
*/ | ||
prompt: { | ||
messages: {}, | ||
questions: { | ||
type: { | ||
description: 'please input type:', | ||
}, | ||
}, | ||
}, | ||
}; | ||
|
||
module.exports = Configuration; | ||
} |
This file was deleted.
Oops, something went wrong.