Lint HTML files with ESLint
+There are various formatting and linting rules available for HTML code. + See all rules. +
+diff --git a/packages/website/src/common.css b/packages/website/src/common.css index db2674b4..540645fe 100644 --- a/packages/website/src/common.css +++ b/packages/website/src/common.css @@ -97,10 +97,10 @@ @apply !bg-gray-200 code2 rounded-[8px]; } .md-heading1 { - @apply display1 text-black-900 my-[28px]; + @apply display1 text-3xl text-black-900 my-[28px]; } .md-heading2 { - @apply display3 text-black-900 mb-3 mt-6; + @apply display3 text-2xl text-black-900 mb-3 mt-6; } .mad-heading3 { @apply text-lg mb-3 mt-5 md:text-xl scroll-mt-[64px]; diff --git a/packages/website/src/components/home.html b/packages/website/src/components/home.html index 99e46575..bde73e9b 100644 --- a/packages/website/src/components/home.html +++ b/packages/website/src/components/home.html @@ -1,68 +1,60 @@
- ESLint is a popular linting tool, but it only supports JavaScript.
+ An ESLint plugin for formatting and linting HTML.
- A: This ESLint plugin supports linting HTML syntax and does not provide JavaScript syntax linting. To lint JavaScript in HTML, such as inline scripts, you can use eslint-plugin-html
- There are various formatting and linting rules available for HTML code.
+ See all rules.
+ Supports linting and formatting HTML code written in JavaScript template literals.
+ See Lint HTML in JavaScript Template Literals.
+ Supports integration with template engines like Handlebars, ERB, and TWIG.
+ See Integrating Template Engine with HTML ESLint Plugin.
+
- If you find this project useful,
- This plugin allows you to lint HTML files and HTML code in JavaScript Template Literals.
+
+
HTML ESLINT
+
+
-
-
- Getting Started
-
-
+
+ Get Started
+
-
- Playground
-
-
+
+ Playground
+
-
- All Rules
-
-
+
+ Rules
+
-
FAQ
-
-
+ Q: Lint JavaScript inside HTML
- Lint HTML files with ESLint
+ Lint HTML code inside JS Template Literals.
+ Integrate with template engines.
+
- Please support this project with a
+ If you find this project useful,
+ please support it by giving a Github Star!
+ >Github Star! ⭐