Skip to content

tooling: Enforce commitlint scope-enum as error (severity 2). #232

@nedseb

Description

@nedseb

Description

The commitlint scope-enum rule is currently set to severity 1 (warning) to let contributors adopt the tooling gradually. Once the team is comfortable with the scopes, switch to severity 2 (error) to enforce valid scopes on commit.

Change

In commitlint.config.js, change:

'scope-enum': [
  1,  // ← change to 2
  'always',
  [...]
]

Related

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions