From 3c3b854601daf59407759a611ec46a6c309c14ac Mon Sep 17 00:00:00 2001 From: Isaac Date: Sun, 11 Jun 2023 23:59:27 +0100 Subject: [PATCH] chore: more `commitlint` config to `package.json` to reduce the number of unnecessary files --- .commitlintrc.js | 1 - package.json | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) delete mode 100644 .commitlintrc.js diff --git a/.commitlintrc.js b/.commitlintrc.js deleted file mode 100644 index 3d88028..0000000 --- a/.commitlintrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = { extends: ['@commitlint/config-conventional'] }; \ No newline at end of file diff --git a/package.json b/package.json index 440a513..b7348cd 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,11 @@ "studio": "npx prisma studio", "test": "echo \"There's nothing to test\" && exit 1" }, + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ] + }, "lint-staged": { "**/*.js": [ "npm run lint --"