Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx authored Aug 22, 2023
1 parent a145550 commit c64cb22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/rules/no-empty-glimmer-component-classes.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict';

const { isGlimmerComponent } = require('../utils/ember');
const { isClassPropertyOrPropertyDefinition } = require('../utils/types');

const ERROR_MESSAGE = 'Do not create empty backing classes for Glimmer components.';
const ERROR_MESSAGE_TEMPLATE_TAG =
Expand Down Expand Up @@ -40,7 +39,7 @@ module.exports = {
context.report({ node, message: ERROR_MESSAGE });
} else if (
node.body.body.length === 1 &&
node.body.body[0].type === 'GlimmerTemplate' &&
node.body.body[0].type === 'GlimmerTemplate' &&
!subClassHasTypeDefinition
) {
context.report({ node, message: ERROR_MESSAGE_TEMPLATE_TAG });
Expand Down

0 comments on commit c64cb22

Please sign in to comment.