UNPKG

eslint-plugin-html

Version:

A ESLint plugin to lint and fix inline scripts contained in HTML files.

29 lines (22 loc) 396 B
<!DOCTYPE html> <html> <head> </head> <body> <script> console.log(1); </script> <script type="text/javascript"> console.log(1); </script> <script type="module"> console.log(1); </script> <script type="text/foo"> console.log(1); </script> <script type="application/foo"> console.log(1); </script> </body> </html>