Files
TORCH/eslint.config.mjs
T
google-labs-jules[bot]andPR0M3TH3AN 6e1bb58f4f feat: add missing audit scripts and lint configuration
Implemented the missing scripts required by the audit-agent:
- `scripts/check-file-size.mjs`: Checks for files exceeding 300 lines.
- `scripts/check-innerhtml.mjs`: Checks for `innerHTML` usage.
- Added `npm run lint` script using ESLint with a basic configuration.
- Added `eslint` and related dependencies.

This unblocks the audit-agent daily schedule.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-14 06:21:09 +00:00

24 lines
435 B
JavaScript

import js from "@eslint/js";
import globals from "globals";
export default [
{
ignores: ["dist/", "artifacts/", "test_logs/", "coverage/"],
},
js.configs.recommended,
{
languageOptions: {
globals: {
...globals.browser,
...globals.node,
},
ecmaVersion: "latest",
sourceType: "module",
},
rules: {
"no-unused-vars": "warn",
"no-console": "off",
},
},
];