question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feat: update conventional commit linter

See original GitHub issue

Hey @marionebl 👋

We’ve been making some slight tweaks to the conventional commit spec, as we march towards a v1.0.0 of the spec. Mainly introducing ! a shorthand for breaking changes.

I’ve also finally taken the time to write a preset based directly on conventionalcommits.org.

It would be slick if we could update commitlint to match conventional-changelog-conventionalcommits and conventionalcommits.org, or its conventional commits linter.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

5reactions
byCedriccommented, Oct 24, 2019

It took some effort, and a lot of sweat/tears, but it’s there. The “next” (now 8.3.3) commitlint version now supports the new conventionalcommits parser, and it’s included by default when using @commitlint/config-conventional@next (now 8.3.3). Try it out, let us know what you think or encounter 😄🚀

$ npm i --save @commitlint/cli@next @commitlint/config-conventional@next

I’ll try to push for the full spec update because some other developers are reporting conflicting types or casing issues. But that might take a bit longer and probably requires a major bump. Rest assured, we are on it!

3reactions
byCedriccommented, Oct 2, 2019

I’ll make some time available this weekend to finish the new configuration and support for !. 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

conventional-changelog/commitlint: Lint commit messages
feat (prompt): rewrite codebase to use inquirer - UPDATED with current… last year .eslintrc.js .gitignore.
Read more >
commitlint - Lint commit messages
commitlint helps your team adhere to a commit convention. By supporting npm-installed configurations it makes sharing of commit conventions easy.
Read more >
How to Write Good Commit Messages with Commitlint
Commitlint is a simple tool that lints your commit messages and makes sure they follow a set of rules. It runs as a...
Read more >
Conventional Commits
The Conventional Commits specification is a lightweight convention on top of commit messages. It provides an easy set of rules for creating an...
Read more >
@commitlint/config-conventional - npm
Shareable commitlint config enforcing conventional commits. Latest version: 17.3.0, last published: a ... Lint your conventional commits ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found