Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

feat(rule): add no-img-element #177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

clarkdo
Copy link
Member

@clarkdo clarkdo commented Mar 13, 2022

Related issue: #162

nuxt/no-img-element

Prohibit usage of HTML element

  • ⚙️ This rule is included in "plugin:nuxt/recommended".

Rule Details

This rule is for preventing using <img> element

Examples of incorrect code for this rule:

<img src="/nuxt.png" />

Examples of correct code for this rule:

<nuxt-img src="/nuxt.png" />

@clarkdo clarkdo requested review from Atinux and pi0 March 13, 2022 16:31
Copy link
Member

Atinux commented Mar 21, 2022

I will let Pooya do the final review and merge, thank you for your help @clarkdo ❤️

@Atinux Atinux removed their request for review March 30, 2022 15:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants