From c2d3e4f42c17ed07b2658610713674df184ccca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iiro=20J=C3=A4ppinen?= Date: Sun, 24 Oct 2021 18:49:36 +0300 Subject: [PATCH] fix: correctly import `js-yaml` to fix yaml config loading --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index db4f8f7ef..70fb28132 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,7 +1,7 @@ 'use strict' const { lilconfig } = require('lilconfig') -const { yaml } = require('js-yaml') +const yaml = require('js-yaml') const debugLog = require('debug')('lint-staged') const stringifyObject = require('stringify-object')