lint viz with eslint (#6988)

* lint viz

* green

* move config

* space

* meh, laterg
This commit is contained in:
qazal
2024-10-14 22:40:56 +03:00
committed by GitHub
parent a99e42cf2f
commit 968a79b56c
3 changed files with 43 additions and 34 deletions

9
eslint.config.mjs Normal file
View File

@@ -0,0 +1,9 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import pluginHtml from "eslint-plugin-html";
export default [
{files: ["**/*.html"], plugins: {html: pluginHtml}, rules:{"max-len": ["error", {"code": 150}]}},
{languageOptions: {globals: globals.browser}},
pluginJs.configs.recommended,
];