Skip to content

Commit

Permalink
fix: Add local config to set issuePrefixes
Browse files Browse the repository at this point in the history
[FBTLOPS-159]
  • Loading branch information
mralexandernickel committed Mar 10, 2021
1 parent 041754f commit 1e8cd08
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ GITHUB_BASE_REF ?= master

.PHONY: lint
lint:
commitlint -g index.js --from=$$(git rev-parse remotes/origin/$(GITHUB_BASE_REF))
commitlint -g commitlint.config.js --from=$$(git rev-parse remotes/origin/$(GITHUB_BASE_REF))
8 changes: 8 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
extends: ["./index.js"],
parserPreset: {
parserOpts: {
issuePrefixes: ["FBTLOPS-"],
},
},
};

0 comments on commit 1e8cd08

Please sign in to comment.