Merge pull request #236 from agessaman/dependabot/npm_and_yarn/frontend-lint-bcc213b9f8

build(npm): bump eslint from 8.57.1 to 10.8.0 in the frontend-lint group
This commit is contained in:
Adam Gessaman
2026-08-07 14:37:32 -07:00
committed by GitHub
4 changed files with 283 additions and 559 deletions
-27
View File
@@ -1,27 +0,0 @@
{
"env": {
"browser": true,
"es2021": true
},
"plugins": ["html"],
"settings": {
"html/html-extensions": [".html"]
},
"rules": {
"no-undef": "warn",
"no-unused-vars": "warn",
"no-console": "off",
"semi": ["warn", "always"],
"eqeqeq": ["warn", "always"],
"no-eval": "error",
"no-implied-eval": "error"
},
"globals": {
"io": "readonly",
"bootstrap": "readonly",
"Chart": "readonly",
"L": "readonly",
"escapeHtml": "writable",
"socket": "writable"
}
}
+34
View File
@@ -0,0 +1,34 @@
import html from "eslint-plugin-html";
import globals from "globals";
export default [
{
files: ["**/*.{html,js}"],
plugins: { html },
languageOptions: {
ecmaVersion: 2021,
sourceType: "script",
globals: {
...globals.browser,
io: "readonly",
bootstrap: "readonly",
Chart: "readonly",
L: "readonly",
escapeHtml: "writable",
socket: "writable",
},
},
settings: {
"html/html-extensions": [".html"],
},
rules: {
"no-undef": "warn",
"no-unused-vars": "warn",
"no-console": "off",
semi: ["warn", "always"],
eqeqeq: ["warn", "always"],
"no-eval": "error",
"no-implied-eval": "error",
},
},
];
+246 -530
View File
File diff suppressed because it is too large Load Diff
+3 -2
View File
@@ -10,8 +10,9 @@
"test:contacts": "node --test tests/js/contacts_manager.test.mjs"
},
"devDependencies": {
"eslint": "^8.57.0",
"eslint-plugin-html": "^8.1.1",
"eslint": "^10.8.0",
"eslint-plugin-html": "^8.1.4",
"globals": "^16.5.0",
"htmlhint": "^1.1.4"
}
}