Skip to content

Commit

Permalink
move type
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Aug 26, 2022
1 parent 5d0f5d4 commit 5b495ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-plugin-next/lib/rules/no-img-element.ts
Expand Up @@ -2,7 +2,7 @@ import type { Rule } from 'eslint'

const url = 'https://nextjs.org/docs/messages/no-img-element'

const rule = {
const rule: Rule.RuleModule = {
meta: {
docs: {
description: 'Prevent usage of `<img>` element to prevent layout shift.',
Expand Down Expand Up @@ -35,7 +35,7 @@ const rule = {
},
}
},
} as Rule.RuleModule
}

export default rule
module.exports = rule

0 comments on commit 5b495ea

Please sign in to comment.