Files
meshcore-bot/package.json
Stacy Olivas a12797f87a infra: CI lint gates for ruff, mypy, eslint, and shellcheck
Add four jobs to .github/workflows/test.yml:
- lint: ruff check modules/ tests/ — zero violations enforced
- typecheck: mypy modules/ with incremental strict mode; per-module
  disallow_untyped_defs where applicable
- lint-frontend: ESLint (eslint-plugin-html) + HTMLHint on templates/
- lint-shell: ShellCheck --severity=warning on all .sh files

Add [tool.ruff] and [tool.mypy] sections to pyproject.toml.
Add .eslintrc.json, .htmlhintrc, package.json for frontend tooling.
2026-03-17 17:42:41 -07:00

17 lines
488 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\"",
"lint:frontend": "npm run lint:html && npm run lint:js"
},
"devDependencies": {
"eslint": "^8.57.0",
"eslint-plugin-html": "^8.1.1",
"htmlhint": "^1.1.4"
}
}