Skip to content

Commit 4a2605b

Browse files
authored
(fix) mark more warnings as non-ignorable
Closes #457
1 parent 9abbe19 commit 4a2605b

File tree

1 file changed

+5
-1
lines changed
  • packages/language-server/src/plugins/svelte/features/getCodeActions

1 file changed

+5
-1
lines changed

packages/language-server/src/plugins/svelte/features/getCodeActions/getQuickfixes.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,11 @@ export function isIgnorableSvelteDiagnostic(diagnostic: Diagnostic) {
8080
severity !== DiagnosticSeverity.Error
8181
);
8282
}
83-
const nonIgnorableWarnings = ['missing-custom-element-compile-options'];
83+
const nonIgnorableWarnings = [
84+
'missing-custom-element-compile-options',
85+
'unused-export-let',
86+
'css-unused-selector'
87+
];
8488

8589
async function getSvelteIgnoreEdit(svelteDoc: SvelteDocument, ast: Ast, diagnostic: Diagnostic) {
8690
const {

0 commit comments

Comments
 (0)