From ab44319d47b93d6f12b03cc06807e5870a05b7e7 Mon Sep 17 00:00:00 2001 From: Albert Li Date: Mon, 30 May 2022 20:45:01 -0700 Subject: [PATCH] chore: commit lint --- .husky/pre-commit | 4 ++++ commitlint.config.js | 1 + 2 files changed, 5 insertions(+) create mode 100755 .husky/pre-commit create mode 100644 commitlint.config.js diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000..f771b87 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +ember test diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 0000000..422b194 --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1 @@ +module.exports = { extends: ['@commitlint/config-conventional'] };