Skip to content

Commit 1b442c9

Browse files
committed
fix(typos): correct typos in README and add config for typos cli
1 parent 6d3f3d9 commit 1b442c9

File tree

5 files changed

+29
-3
lines changed

5 files changed

+29
-3
lines changed
File renamed without changes.

.typos.toml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[files]
2+
extend-exclude = [
3+
"go.mod",
4+
"go.sum"
5+
]
6+
ignore-hidden = true
7+
ignore-files = true
8+
ignore-dot = true
9+
ignore-vcs = true
10+
ignore-global = true
11+
ignore-parent = true
12+
13+
[default]
14+
binary = false
15+
check-filename = true
16+
check-file = true
17+
unicode = true
18+
locale = "en"
19+
extend-ignore-re = []
20+
extend-ignore-identifiers-re = []
21+
22+
[default.extend-words]
23+
# <typo> = "<correction>"
24+
25+
[default.extend-identifiers]
26+
# <typo> = "<correction>"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
OMMIT_HASH = $(shell git rev-parse HEAD)
1+
COMMIT_HASH = $(shell git rev-parse HEAD)
22

33
.PHONY: build
44
build:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Commitizen
22
----------
33

4-
CLI promt tool for creation of [Conventional Commits](https://www.conventionalcommits.org). No more pain with commits rejected by validation tools or digging through [CONTRIBUTING.md](CONTRIBUTING.md) to find preffered commit format.
4+
CLI prompt tool for creation of [Conventional Commits](https://www.conventionalcommits.org). No more pain with commits rejected by validation tools or digging through [CONTRIBUTING.md](CONTRIBUTING.md) to find preferred commit format.
55

66
Based on wonderful work of [Commitizen](https://github.com/commitizen) with their [cz-cli](https://github.com/commitizen/cz-cli) which works like a charm in Node.js based projects.
77

cmd/commitizen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
func Lefthook() *cli.Command {
1010
return &cli.Command{
1111
Name: "commitizen",
12-
Usage: "Conventional Commits promt generator",
12+
Usage: "Conventional Commits prompt generator",
1313
Version: ver.Version(),
1414
Commands: commands,
1515
EnableShellCompletion: true,

0 commit comments

Comments
 (0)