vscode-conventional-commits icon indicating copy to clipboard operation
vscode-conventional-commits copied to clipboard

[QUESTION]

Open rexkenley opened this issue 2 years ago • 3 comments

I have this configuration .commitlintrc.json

{
  "extends": ["@commitlint/config-conventional"],
  "rules": {
    "scope-empty": [2, "always"],
    "scope-enum":  [2, "always", ["a", "b", "c"]],
    "subject-case": [
      2,
      "never",
      [
        "lower-case",
        "upper-case",
        "camel-case",
        "kebab-case",
        "pascal-case",
        "snake-case",
        "start-case"
      ]
    ],
    "subject-max-length": [2, "always", 72]
  }
}

How do I make the vscode extension display the values of the scope-enum(a,b,c)?

rexkenley avatar May 18 '23 19:05 rexkenley

@rexkenley Sorry for the late reply, please check the output of the conventional commits.

Make sure the @commitlint/config-conventional is in your repo/node_modules.

yi-Xu-0100 avatar May 26 '23 07:05 yi-Xu-0100

How do I check for the output? I know you can add areas into the vs code settings.json, but we .gitignore that file. Is there another way to store the "official areas" of the project?

Yes it is image

rexkenley avatar Jun 14 '23 20:06 rexkenley

@rexkenley i think this is what @yi-Xu-0100 meant by output

Screenshot 2023-08-15 at 11 05 24

plbstl avatar Aug 15 '23 10:08 plbstl