Skip to content

Commit aab069b

Browse files
committed
revert
1 parent 988fe74 commit aab069b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-plugin-svelte/src/rules/block-lang.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default createRule('block-lang', {
6666

6767
const scriptOption: string | null | (string | null)[] = context.options[0]?.script ?? null;
6868
const allowedScriptLangs: (string | null)[] = Array.isArray(scriptOption)
69-
? scriptOption.filter((lang) => lang != null && lang !== '')
69+
? scriptOption
7070
: [scriptOption];
7171
const scriptNodes: SvelteScriptElement[] = [];
7272

0 commit comments

Comments
 (0)