refactor: fix lint issues

This commit is contained in:
Michael Rawlings 2022-02-04 14:45:05 -08:00
parent 44aba7aa3f
commit 87259feef6
4 changed files with 2 additions and 8 deletions

View File

@ -3,7 +3,6 @@ import { Tag, assertNoParams } from "@marko/babel-utils";
import { assertNoBodyContent } from "../util/assert";
import translateVar from "../util/translate-var";
import { isOutputDOM } from "../util/marko-config";
import * as writer from "../util/writer";
import { getSectionId } from "../util/sections";
import { addStatement, bindingToApplyId } from "../util/apply-hydrate";

View File

@ -175,11 +175,7 @@ const translateDOM = {
},
};
const queueEachBuilder: queueBuilder = (
binding,
functionIdentifier,
targetSectionId
) => {
const queueEachBuilder: queueBuilder = () => {
return t.identifier("TODO");
};

View File

@ -1,6 +1,5 @@
import { types as t } from "@marko/compiler";
import { getSectionId, createSectionState } from "../util/sections";
import { isOutputHTML } from "./marko-config";
import { callRuntime } from "./runtime";
import toTemplateOrStringLiteral, {
appendLiteral,

View File

@ -15,7 +15,7 @@ export default {
},
// eslint-disable-next-line @typescript-eslint/no-unused-vars
exit(program: t.NodePath<t.Program>) {
exit() {
assignFinalIds();
},
},