mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
1852b1ad33
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.0.13 to 4.2.5. - [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases) - [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md) - [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.0.13...v4.2.5) --- updated-dependencies: - dependency-name: fast-xml-parser dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> chore: increase commit body max line length
15 lines
680 B
JavaScript
15 lines
680 B
JavaScript
const { rules } = require('@commitlint/config-conventional');
|
|
|
|
const isCi = process.env.CI === 'true';
|
|
|
|
/** @type {import('@commitlint/types').UserConfig} **/
|
|
module.exports = {
|
|
extends: ['@commitlint/config-conventional'],
|
|
rules: {
|
|
'type-enum': [2, 'always', [...rules['type-enum'][2], 'api', 'release']],
|
|
'scope-enum': [2, 'always', ['connector', 'console', 'core', 'demo-app', 'test', 'phrases', 'schemas', 'shared', 'ui', 'deps','cli', 'toolkit', 'cloud', 'app-insights']],
|
|
// Slightly increase the tolerance to allow the appending PR number
|
|
...(isCi && { 'header-max-length': [2, 'always', 110] }),
|
|
'body-max-line-length': [2, 'always', 110],
|
|
},
|
|
};
|