├── .editorconfig ├── .eslintrc.js ├── .gitignore ├── .husky ├── commit-msg ├── pre-commit └── pre-push ├── .vscode └── settings.json ├── LICENSE ├── README-zh-CN.md ├── README.md ├── assets ├── demo-3.png ├── demo-4-compressed.png ├── demo-4.png ├── demo-6-compressed.png ├── demo-6-zh-cn-compressed.png ├── demo-6-zh-cn.png ├── demo-6.png ├── demo-7-compressed.png ├── detailed-config-wx-compressed.png └── docs.md ├── commitlinterrc.json ├── package.json ├── packages ├── commit-msg-linter-test │ └── package.json ├── commit-msg-linter │ ├── commit-msg-linter.js │ ├── index.js │ └── package.json └── git-commit-msg-linter │ ├── README-zh-CN.md │ ├── README.md │ ├── cli │ └── validate.js │ ├── constants.js │ ├── core │ └── validate.js │ ├── index.d.ts │ ├── index.js │ ├── install.js │ ├── package.json │ ├── test │ └── e2e.sh │ ├── typings.d.ts │ ├── uninstall.js │ └── utils.js └── pnpm-workspace.yaml /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npx lint-staged 5 | -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/.husky/pre-push -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/LICENSE -------------------------------------------------------------------------------- /README-zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/README-zh-CN.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/README.md -------------------------------------------------------------------------------- /assets/demo-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/assets/demo-3.png -------------------------------------------------------------------------------- /assets/demo-4-compressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/assets/demo-4-compressed.png -------------------------------------------------------------------------------- /assets/demo-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/assets/demo-4.png -------------------------------------------------------------------------------- /assets/demo-6-compressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/assets/demo-6-compressed.png -------------------------------------------------------------------------------- /assets/demo-6-zh-cn-compressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/assets/demo-6-zh-cn-compressed.png -------------------------------------------------------------------------------- /assets/demo-6-zh-cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/assets/demo-6-zh-cn.png -------------------------------------------------------------------------------- /assets/demo-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/assets/demo-6.png -------------------------------------------------------------------------------- /assets/demo-7-compressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/assets/demo-7-compressed.png -------------------------------------------------------------------------------- /assets/detailed-config-wx-compressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/assets/detailed-config-wx-compressed.png -------------------------------------------------------------------------------- /assets/docs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/assets/docs.md -------------------------------------------------------------------------------- /commitlinterrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/commitlinterrc.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/package.json -------------------------------------------------------------------------------- /packages/commit-msg-linter-test/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/commit-msg-linter-test/package.json -------------------------------------------------------------------------------- /packages/commit-msg-linter/commit-msg-linter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/commit-msg-linter/commit-msg-linter.js -------------------------------------------------------------------------------- /packages/commit-msg-linter/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/commit-msg-linter/index.js -------------------------------------------------------------------------------- /packages/commit-msg-linter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/commit-msg-linter/package.json -------------------------------------------------------------------------------- /packages/git-commit-msg-linter/README-zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/git-commit-msg-linter/README-zh-CN.md -------------------------------------------------------------------------------- /packages/git-commit-msg-linter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/git-commit-msg-linter/README.md -------------------------------------------------------------------------------- /packages/git-commit-msg-linter/cli/validate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/git-commit-msg-linter/cli/validate.js -------------------------------------------------------------------------------- /packages/git-commit-msg-linter/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/git-commit-msg-linter/constants.js -------------------------------------------------------------------------------- /packages/git-commit-msg-linter/core/validate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/git-commit-msg-linter/core/validate.js -------------------------------------------------------------------------------- /packages/git-commit-msg-linter/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/git-commit-msg-linter/index.d.ts -------------------------------------------------------------------------------- /packages/git-commit-msg-linter/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/git-commit-msg-linter/index.js -------------------------------------------------------------------------------- /packages/git-commit-msg-linter/install.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/git-commit-msg-linter/install.js -------------------------------------------------------------------------------- /packages/git-commit-msg-linter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/git-commit-msg-linter/package.json -------------------------------------------------------------------------------- /packages/git-commit-msg-linter/test/e2e.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/git-commit-msg-linter/test/e2e.sh -------------------------------------------------------------------------------- /packages/git-commit-msg-linter/typings.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/git-commit-msg-linter/typings.d.ts -------------------------------------------------------------------------------- /packages/git-commit-msg-linter/uninstall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/git-commit-msg-linter/uninstall.js -------------------------------------------------------------------------------- /packages/git-commit-msg-linter/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/packages/git-commit-msg-linter/utils.js -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/legend80s/git-commit-msg-linter/HEAD/pnpm-workspace.yaml --------------------------------------------------------------------------------