Files
meshcore-bot/package.json
agessaman b4c8cee56d build(eslint): migrate to flat config for ESLint 10
Replace .eslintrc.json with eslint.config.mjs and add globals so the
Dependabot ESLint 10 bump can load config and lint successfully.
2026-08-07 14:31:24 -07:00

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"
}
}