Skip to content

Commit cde2baf

Browse files
authored
feat: Add warningFilter to SvelteConfig (#626)
1 parent ba33301 commit cde2baf

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/smart-rats-decide.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-eslint-parser": minor
3+
---
4+
5+
feat: Add `warningFilter` to `SvelteConfig`

src/svelte-config/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export type SvelteConfig = {
1313
warning: Compiler.Warning,
1414
defaultHandler: (warning: Compiler.Warning) => void,
1515
) => void;
16+
warningFilter?: (warning: Compiler.Warning) => boolean;
1617
[key: string]: unknown;
1718
};
1819

0 commit comments

Comments
 (0)