mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-08-14 06:29:47 +00:00
Replace .eslintrc.json with eslint.config.mjs and add globals so the Dependabot ESLint 10 bump can load config and lint successfully.
19 lines
678 B
JSON
19 lines
678 B
JSON
{
|
|
"name": "meshcore-bot-frontend",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"description": "Frontend linting for meshcore-bot web viewer templates",
|
|
"scripts": {
|
|
"lint:html": "htmlhint \"modules/web_viewer/templates/**/*.html\"",
|
|
"lint:js": "eslint \"modules/web_viewer/templates/**/*.html\" modules/web_viewer/static/js/dashboard.js modules/web_viewer/static/js/channel_operations.js",
|
|
"lint:frontend": "npm run lint:html && npm run lint:js",
|
|
"test:contacts": "node --test tests/js/contacts_manager.test.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^10.8.0",
|
|
"eslint-plugin-html": "^8.1.4",
|
|
"globals": "^16.5.0",
|
|
"htmlhint": "^1.1.4"
|
|
}
|
|
}
|