From 2570a3ba9d453067a5380c02cac8436ddc6fa37a Mon Sep 17 00:00:00 2001 From: gianlucaguarini Date: Fri, 25 Aug 2023 23:55:31 +0200 Subject: [PATCH] fixed: linting errors --- src/generators/template/utils.js | 2 -- src/utils/ast-nodes-checks.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/generators/template/utils.js b/src/generators/template/utils.js index b3a59d5..7b99937 100644 --- a/src/generators/template/utils.js +++ b/src/generators/template/utils.js @@ -30,8 +30,6 @@ import { isLiteral, isMemberExpression, isObjectExpression, - isObjectProperty, - isProperty, } from '../../utils/ast-nodes-checks.js' import { nullNode, simplePropertyNode } from '../../utils/custom-ast-nodes.js' import addLinesOffset from '../../utils/add-lines-offset.js' diff --git a/src/utils/ast-nodes-checks.js b/src/utils/ast-nodes-checks.js index 5017eab..fbbe71c 100644 --- a/src/utils/ast-nodes-checks.js +++ b/src/utils/ast-nodes-checks.js @@ -20,8 +20,6 @@ export const isSequenceExpression = (n) => export const isExportDefaultStatement = (n) => namedTypes.ExportDefaultDeclaration.check(n) export const isMemberExpression = (n) => namedTypes.MemberExpression.check(n) -export const isObjectProperty = (n) => namedTypes.ObjectProperty.check(n) -export const isProperty = (n) => namedTypes.Property.check(n) export const isImportDeclaration = (n) => namedTypes.ImportDeclaration.check(n) export const isTypeAliasDeclaration = (n) => namedTypes.TSTypeAliasDeclaration.check(n)