diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 000000000..50909d954 --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1,17 @@ +const Configuration = { + /* + * Resolve and load @commitlint/config-conventional from node_modules. + */ + extends: ['@commitlint/config-conventional'], + /* + * Any rules defined here will override rules from @commitlint/config-conventional + */ + rules: { + /* + * Add 'build' to the default list for Dependabot PRs. + */ + 'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'style', 'refactor', 'test', 'revert', 'build']], + }, +}; + +module.exports = Configuration;