diff --git a/README.md b/README.md index 3e1aa816..a5a37e8d 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,10 @@ 1. [Playground](https://html-eslint.org/playground) 1. [License](#License) +## Lint JavaScript inside HTML + +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](https://github.com/BenoitZugmeyer/eslint-plugin-html). + ## License Distributed under the MIT License. See [LICENSE](./LICENSE) for more information. diff --git a/packages/website/src/components/home.html b/packages/website/src/components/home.html index 1f8c339a..870389eb 100644 --- a/packages/website/src/components/home.html +++ b/packages/website/src/components/home.html @@ -1,5 +1,5 @@
+
+ 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 +
+
If you find this project useful,
- Please support this project with a Github Star!
+ Please support this project with a Github Star!