Skip to content

Commit

Permalink
chore(commitlint): add config
Browse files Browse the repository at this point in the history
  • Loading branch information
skamril committed Mar 26, 2024
1 parent fba45a0 commit 5bf262e
Show file tree
Hide file tree
Showing 4 changed files with 1,467 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ share/python-wheels/
.installed.cfg
*.egg
MANIFEST
node_modules

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down
10 changes: 10 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { RuleConfigSeverity } from "@commitlint/types";

// Config used by 'commitlint' GitHub action.
// Rules: https://commitlint.js.org/reference/rules.html
export default {
extends: ["@commitlint/config-conventional"],
rules: {
"header-max-length": [RuleConfigSeverity.Error, "always", 150],
},
};
Loading

0 comments on commit 5bf262e

Please sign in to comment.