mirror of
https://github.com/fergalmoran/onearmy-community-platform.git
synced 2026-01-04 16:04:32 +00:00
chore(deps): pin to skip latest release
(cherry picked from commit 950e9be9407995ddff136d8a406060332d5e1d4e)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { Formatter, FormattableReport } from '@commitlint/types'
|
||||
|
||||
// Custom formatter for commitlint message
|
||||
const formatter: Formatter = function (report, options) {
|
||||
export const formatter: Formatter = function (report, options) {
|
||||
const { results, valid } = report as IFormatReport
|
||||
if (results && !valid) {
|
||||
console.log('\nCommit needs to be formatted as conventional commit')
|
||||
@@ -21,8 +21,6 @@ const formatter: Formatter = function (report, options) {
|
||||
return ''
|
||||
}
|
||||
|
||||
module.exports = formatter
|
||||
|
||||
// Fix type definition for formattable report
|
||||
interface IFormatReport extends FormattableReport {
|
||||
errorCount: number
|
||||
|
||||
Reference in New Issue
Block a user