From 3b7bd5345a9f04304cdbc107bb51bb859a577835 Mon Sep 17 00:00:00 2001 From: jimmy-guzman Date: Sat, 13 Apr 2024 12:58:25 -0500 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=F0=9F=90=9B=20ignore=20`playwright-?= =?UTF-8?q?report`=20from=20linting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/__snapshots__/factory.spec.ts.snap | 1 + src/__snapshots__/index.spec.ts.snap | 1 + src/constants.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/src/__snapshots__/factory.spec.ts.snap b/src/__snapshots__/factory.spec.ts.snap index f851747..c80c166 100644 --- a/src/__snapshots__/factory.spec.ts.snap +++ b/src/__snapshots__/factory.spec.ts.snap @@ -2184,6 +2184,7 @@ exports[`jimmyDotCodes > should create default configuration 1`] = ` "**/.yarn", "**/storybook-static", "**/.eslint-config-inspector", + "**/playwright-report", "**/CHANGELOG*.md", "**/*.min.*", "**/LICENSE*", diff --git a/src/__snapshots__/index.spec.ts.snap b/src/__snapshots__/index.spec.ts.snap index 79bc59e..d1a40ce 100644 --- a/src/__snapshots__/index.spec.ts.snap +++ b/src/__snapshots__/index.spec.ts.snap @@ -2184,6 +2184,7 @@ exports[`should create default configuration 1`] = ` "**/.yarn", "**/storybook-static", "**/.eslint-config-inspector", + "**/playwright-report", "**/CHANGELOG*.md", "**/*.min.*", "**/LICENSE*", diff --git a/src/constants.ts b/src/constants.ts index 3d5d797..3f59681 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -27,6 +27,7 @@ export const GLOB_IGNORES = [ "**/.yarn", "**/storybook-static", "**/.eslint-config-inspector", + "**/playwright-report", "**/CHANGELOG*.md", "**/*.min.*", From 1fd9a39117bf3e734975e1c3eb605715cc1da00e Mon Sep 17 00:00:00 2001 From: jimmy-guzman Date: Sat, 13 Apr 2024 13:11:26 -0500 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=F0=9F=90=9B=20allow=20files=20under?= =?UTF-8?q?=20`.storybook`=20to=20be=20linted?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/__snapshots__/factory.spec.ts.snap | 1 + src/__snapshots__/index.spec.ts.snap | 1 + src/constants.ts | 2 ++ 3 files changed, 4 insertions(+) diff --git a/src/__snapshots__/factory.spec.ts.snap b/src/__snapshots__/factory.spec.ts.snap index c80c166..38aa5fe 100644 --- a/src/__snapshots__/factory.spec.ts.snap +++ b/src/__snapshots__/factory.spec.ts.snap @@ -2192,6 +2192,7 @@ exports[`jimmyDotCodes > should create default configuration 1`] = ` "**/auto-import?(s).d.ts", "**/components.d.ts", "**/vite.config.ts.*.mjs", + "!.storybook", ], }, ] diff --git a/src/__snapshots__/index.spec.ts.snap b/src/__snapshots__/index.spec.ts.snap index d1a40ce..0e06872 100644 --- a/src/__snapshots__/index.spec.ts.snap +++ b/src/__snapshots__/index.spec.ts.snap @@ -2192,6 +2192,7 @@ exports[`should create default configuration 1`] = ` "**/auto-import?(s).d.ts", "**/components.d.ts", "**/vite.config.ts.*.mjs", + "!.storybook", ], }, ] diff --git a/src/constants.ts b/src/constants.ts index 3f59681..09cba75 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -36,6 +36,8 @@ export const GLOB_IGNORES = [ "**/auto-import?(s).d.ts", "**/components.d.ts", "**/vite.config.ts.*.mjs", + + "!.storybook", ]; export const GLOB_JS = "**/*.?([cm])js";