chore(deps): pin to skip latest release

(cherry picked from commit 950e9be9407995ddff136d8a406060332d5e1d4e)
This commit is contained in:
Luke Watts
2023-01-08 14:24:24 +01:00
committed by chrismclarke
parent 7073785f26
commit d3bb4afe59
3 changed files with 3 additions and 7 deletions

View File

@@ -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