Skip to content

Commit

Permalink
Ignore paths in .gitignore for Stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Oct 17, 2024
1 parent d3fbfd0 commit 0caf7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/checks/stylelint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default async function stylelintCheck() {
preferLocal: true,
})`stylelint **/*.{${supportedStylelintFileExtensions.join(
',',
)}} --max-warnings 0 --formatter json`;
)}} --ignore-path .gitignore --max-warnings 0 --formatter json`;
} catch (error) {
const { stderr } = error as { stderr: string };

Expand Down

0 comments on commit 0caf7a0

Please sign in to comment.