Skip to content

Commit 16c9545

Browse files
committed
fix lint
1 parent 74240d2 commit 16c9545

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/parser/style-context.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface StyleContextUnknownLang {
3737
*/
3838
export function parseStyleContext(
3939
styleElement: SvelteStyleElement | undefined,
40-
ctx: Context
40+
ctx: Context,
4141
): StyleContext {
4242
if (!styleElement || !styleElement.endTag) {
4343
return { status: "no-style-element" };
@@ -67,7 +67,7 @@ export function parseStyleContext(
6767
}
6868
const styleCode = ctx.code.slice(
6969
styleElement.startTag.range[1],
70-
styleElement.endTag.range[0]
70+
styleElement.endTag.range[0],
7171
);
7272
try {
7373
sourceAst = parseFn(styleCode, {
@@ -110,7 +110,7 @@ export function styleNodeLoc(node: Node): Partial<SourceLocation> {
110110
* Extracts a node range (like that of any ESLint node) from a parsed svelte style node.
111111
*/
112112
export function styleNodeRange(
113-
node: Node
113+
node: Node,
114114
): [number | undefined, number | undefined] {
115115
if (node.source === undefined) {
116116
return [undefined, undefined];

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