@forsakringskassan/commitlint-config 1.3.0 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -259337,7 +259337,7 @@ var wildcards = [
259337
259337
  test(/^((Merge pull request)|(Merge (.*?) into (.*?)|(Merge branch (.*?)))(?:\r?\n)*$)/m),
259338
259338
  test(/^(Merge tag (.*?))(?:\r?\n)*$/m),
259339
259339
  test(/^(R|r)evert (.*)/),
259340
- test(/^(fixup|squash)!/),
259340
+ test(/^(amend|fixup|squash)!/),
259341
259341
  isSemver,
259342
259342
  test(/^(Merged (.*?)(in|into) (.*)|Merged PR (.*): (.*))/),
259343
259343
  test(/^Merge remote-tracking branch(\s*)(.*)/),
package/dist/format.js CHANGED
@@ -513,8 +513,7 @@ function formatInput(result, options = {}) {
513
513
  }
514
514
  const sign = "\u29D7";
515
515
  const decoration = enabled ? source_default.gray(sign) : sign;
516
- const commitText = errors.length > 0 ? input : input.split("\n")[0];
517
- const decoratedInput = enabled ? source_default.bold(commitText) : commitText;
516
+ const decoratedInput = enabled ? source_default.bold(input) : input;
518
517
  const hasProblems = errors.length > 0 || warnings.length > 0;
519
518
  return options.verbose || hasProblems ? [`${decoration} input: ${decoratedInput}`] : [];
520
519
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/commitlint-config",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "FK commitlint shareable config",
5
5
  "keywords": [
6
6
  "commitlint"