Skip to content

Commit

Permalink
chore: commitlint 설정파일 추가
Browse files Browse the repository at this point in the history
- conventional-changelog/commitlint#3251
오류로 인해 `.cjs` 확장과 jsdoc 타입 체크로 대신함
- 커밋 메시지에 한글을 사용하므로, 영어 케이스 규칙은 사용하지 않음
  • Loading branch information
scarf005 committed Dec 5, 2022
1 parent 047c656 commit ab5e535
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//@ts-check
// convert above ts to typedef jsdoc
/** @typedef {import('@commitlint/types').UserConfig} UserConfig */

/** @type {UserConfig} */
const Configuration = {
rules: { 'body-case': [0] },
}

// eslint-disable-next-line functional/no-expression-statement, functional/immutable-data, no-undef
module.exports = Configuration

0 comments on commit ab5e535

Please sign in to comment.