Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 520 Bytes

require-meta-description.md

File metadata and controls

29 lines (23 loc) · 520 Bytes
id title
require-meta-description
@html-eslint/require-meta-description

Enforce to use <meta name="description" ...> in the <head></head>.

Rule Details

Examples of incorrect code for this rule:

<html>
  <head>
    <meta name="author" content="YeonJuAn" />
  </head>
</html>

Examples of correct code for this rule:

<html>
  <head>
    <meta name="description" content="ESLint plugin for HTML" />
    <meta name="author" content="YeonJuAn" />
  </head>
</html>