File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export interface StyleContextUnknownLang {
3737 */
3838export 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 */
112112export function styleNodeRange (
113- node : Node
113+ node : Node ,
114114) : [ number | undefined , number | undefined ] {
115115 if ( node . source === undefined ) {
116116 return [ undefined , undefined ] ;
You can’t perform that action at this time.
0 commit comments