mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-08-14 06:29:47 +00:00
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:
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -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",
|
||||
},
|
||||
},
|
||||
];
|
||||
Generated
+246
-530
File diff suppressed because it is too large
Load Diff
+3
-2
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user