We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
warningFilter
SvelteConfig
1 parent ba33301 commit cde2bafCopy full SHA for cde2baf
.changeset/smart-rats-decide.md
@@ -0,0 +1,5 @@
1
+---
2
+"svelte-eslint-parser": minor
3
4
+
5
+feat: Add `warningFilter` to `SvelteConfig`
src/svelte-config/index.ts
@@ -13,6 +13,7 @@ export type SvelteConfig = {
13
warning: Compiler.Warning,
14
defaultHandler: (warning: Compiler.Warning) => void,
15
) => void;
16
+ warningFilter?: (warning: Compiler.Warning) => boolean;
17
[key: string]: unknown;
18
};
19
0 commit comments