From 12cf69f8207342a74fb30b3ad100f002989ad0af Mon Sep 17 00:00:00 2001 From: David Driscoll Date: Mon, 6 Jun 2022 16:16:19 -0400 Subject: [PATCH] Updated lintstaged config to properly handle Verify files. --- .lintstagedrc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 109518309..6ad64ed8c 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -18,9 +18,9 @@ function cleanupcode(filenames) { } module.exports = { - '*.cs': filenames => { + '!(*verified|*received).cs': filenames => { return [`echo "'${filenames.join(`' '`)}'" | dotnet format --include -`].concat(cleanupcode(filenames)); }, '*.{csproj,targets,props,xml}': filenames => forEachChunk(filenames, chunk => [`prettier --write '${chunk.join(`' '`)}'`]), '*.{js,ts,jsx,tsx,json,yml,yaml}': filenames => forEachChunk(filenames, chunk => [`prettier --write '${chunk.join(`' '`)}'`]), -}; +}; \ No newline at end of file