From 2227c7426086318f97ef2b1a79f4f1c8ed6efa04 Mon Sep 17 00:00:00 2001 From: dEdmishka Date: Fri, 20 Oct 2023 18:56:11 +0300 Subject: [PATCH] fixed prettier issue --- .lintstagedrc.js | 2 +- src/utils/relativePath.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 8866ba6..b5b48ac 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -6,4 +6,4 @@ module.exports = { '*.{js,ts}': () => 'npm run typescript:check', '*': (files) => `cspell --show-suggestions --quiet --gitignore ${toRelative(files)}`, -}; \ No newline at end of file +}; diff --git a/src/utils/relativePath.js b/src/utils/relativePath.js index e86cdaa..354f570 100644 --- a/src/utils/relativePath.js +++ b/src/utils/relativePath.js @@ -3,5 +3,4 @@ const path = require('node:path'); const toRelative = (files) => files.map((file) => path.relative(process.cwd(), file)).join(' '); - -module.exports = toRelative; \ No newline at end of file +module.exports = toRelative;