diff --git a/README.md b/README.md index 74733ec513..a82e5f68c1 100644 --- a/README.md +++ b/README.md @@ -112,16 +112,6 @@ npx husky add .husky/commit-msg "npx --no-install commitlint --edit $1" yarn husky add .husky/commit-msg "yarn commitlint --edit $1" ``` -If the file `.husky/commit-msg` already exists, you can edit the file and put this: - -```sh -# .husky/commit-msg -# ... -npx --no-install commitlint --edit $1 -# or -yarn commitlint --edit $1 -``` - **Detailed Setup instructions** - [Local setup](https://conventional-changelog.github.io/commitlint/#/guides-local-setup) - Lint messages on commit with husky diff --git a/docs/guides-local-setup.md b/docs/guides-local-setup.md index 704328b7dd..96cc7353cc 100644 --- a/docs/guides-local-setup.md +++ b/docs/guides-local-setup.md @@ -38,16 +38,6 @@ npx husky add .husky/commit-msg 'npx --no-install commitlint --edit $1' yarn husky add .husky/commit-msg 'yarn commitlint --edit $1' ``` -If the file `.husky/commit-msg` already exists, you can edit the file and put this: - -```sh -# .husky/commit-msg -# ... -npx --no-install commitlint --edit $1 -# or -yarn commitlint --edit $1 -``` - ## Test ### Test simple usage