mirror of
https://github.com/zama-ai/fhevm-solidity.git
synced 2026-01-14 23:18:04 -05:00
27 lines
811 B
JavaScript
27 lines
811 B
JavaScript
const RuleConfigSeverity = require("@commitlint/types").RuleConfigSeverity;
|
|
const Configuration = {
|
|
/*
|
|
* Resolve and load @commitlint/config-conventional from node_modules.
|
|
* Referenced packages must be installed
|
|
*/
|
|
extends: ["@commitlint/config-conventional"],
|
|
/*
|
|
* Resolve and load conventional-changelog-atom from node_modules.
|
|
* Referenced packages must be installed
|
|
*/
|
|
parserPreset: "conventional-changelog-conventionalcommits",
|
|
/*
|
|
* 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
|
|
*/
|
|
rules: {
|
|
"type-empty": [RuleConfigSeverity.Error, "never"],
|
|
},
|
|
};
|
|
|
|
module.exports = Configuration;
|