Skip to content

404 in Example config link #577

Closed
@ghost

Description

I got a http 404 error when you fail a commit

Expected Behavior

A working link :)

Current Behavior

The example config's link advised by the cli error message is https://git.io/fpUzm

Affected packages

  • cli

Possible Solution

Maybe redirect to this link instead

Steps to Reproduce (for bugs)

After a fresh install with husky following this guide: https://conventional-changelog.github.io/commitlint/#/./guides-local-setup?id=guides-local-setup

I tested with:

> git commit -m 'commitlint'
husky > pre-commit (node v11.6.0)
husky > commit-msg (node v11.6.0)

⧗   input: commitlint
✖   Please add rules to your `commitlint.config.js`
    - Getting started guide: https://git.io/fpUzJ
    - Example config: https://git.io/fpUzm [empty-rules]
✖   found 1 problems, 0 warnings 
    (Need help? -> https://github.com/conventional-changelog/commitlint#what-is-commitlint )

Context

Was trying to configure commitlint

Your Environment

Mac OSX Mojave 10.14.2

Executable Version
commitlint --version 7.5.0
git --version 2.17.2 (Apple Git-113)
node --version v11.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions