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

Lines changed: 5 additions & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy