From 3ddb4f6e2085b3b9950a8dc6cff3c0a20482690f Mon Sep 17 00:00:00 2001 From: chientrm Date: Thu, 14 Jul 2022 14:36:22 +0000 Subject: [PATCH] fix linting --- src/compiler/parse/state/fragment.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/compiler/parse/state/fragment.ts b/src/compiler/parse/state/fragment.ts index f74e6360a3..b072ede0c9 100644 --- a/src/compiler/parse/state/fragment.ts +++ b/src/compiler/parse/state/fragment.ts @@ -1,10 +1,10 @@ -import { Parser } from "../index"; -import mustache from "./mustache"; -import tag from "./tag"; -import text from "./text"; +import { Parser } from '../index'; +import mustache from './mustache'; +import tag from './tag'; +import text from './text'; export default (parser: Parser) => [ - { match: "<", fragment: tag }, - { match: "{", fragment: mustache }, + { match: '<', fragment: tag }, + { match: '{', fragment: mustache } ].find(({ match }) => parser.match(match))?.fragment ?? text;