mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-07-27 14:01:00 +00:00
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.
20 lines
496 B
JSON
20 lines
496 B
JSON
{
|
|
"tagname-lowercase": true,
|
|
"attr-lowercase": true,
|
|
"attr-value-double-quotes": true,
|
|
"doctype-first": false,
|
|
"tag-pair": true,
|
|
"spec-char-escape": false,
|
|
"id-unique": true,
|
|
"src-not-empty": true,
|
|
"attr-no-duplication": true,
|
|
"title-require": false,
|
|
"doctype-html5": false,
|
|
"space-tab-mixed-disabled": "space",
|
|
"id-class-ad-disabled": false,
|
|
"href-abs-or-rel": false,
|
|
"attr-unsafe-chars": true,
|
|
"inline-style-disabled": false,
|
|
"inline-script-disabled": false
|
|
}
|