From 8daaa61b113c9a1f2226467546d35b2b0a04dfb4 Mon Sep 17 00:00:00 2001 From: Jamie Rolfs Date: Sun, 11 Oct 2020 00:52:26 -0700 Subject: [PATCH] build(commit): dogfood `scopes` helper from API --- commitlint.config.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/commitlint.config.js b/commitlint.config.js index afa33ffe..45a4623e 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,4 +1,4 @@ -const {ls} = require('./src/api/commit') +const {ls, scopes} = require('./src/api/commit') module.exports = { extends: ['./src/config/commitlint.config'], @@ -7,12 +7,10 @@ module.exports = { 1, 'always', [ + ...scopes.build(), 'config', 'scripts', 'api', - 'deps', - 'deps-dev', - 'build', ...ls.configs('./src/config'), ...ls.configs('./src/scripts'), ...ls.configs('./src/api'),