Skip to content

Commit f89bd8f

Browse files
committed
feat(config): plugins
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent a41e03a commit f89bd8f

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

src/config/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ export { default as defaultIgnores } from './default-ignores'
77
export { default as formatter } from './formatter'
88
export { default as helpUrl } from './help-url'
99
export { default as ignores } from './ignores'
10+
export { default as plugins } from './plugins'

src/config/plugins.ts

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* @file Config - plugins
3+
* @module commitlint-config/config/plugins
4+
*/
5+
6+
import type * as commitlint from '@commitlint/types'
7+
8+
/**
9+
* Plugins to apply.
10+
*
11+
* @see https://commitlint.js.org/#/reference-plugins
12+
*
13+
* @const {(commitlint.Plugin | string)[]} plugins
14+
*/
15+
const plugins: (commitlint.Plugin | string)[] = []
16+
17+
export default plugins

0 commit comments

Comments
 (0)