@alexlit/lint-kit
Version:
Preset of configuration files and dependencies for linting web applications (designed for Vue.js with TypeScript)
25 lines (18 loc) • 386 B
Markdown
# CommitLint Configuration
Lines the commit message and also runs the code through the linters and does not
pass commit if errors are found
## Installation
```sh
npm i @alexlit/config-commitlint -D
```
## Connection
```js
// commitlint.config.js
export default {
extends: ['@alexlit/config-commitlint'],
};
```
```bash
# .husky/commit-msg
npx --no -- commitlint --edit "$1"
```