Topics / cleanyourtv-webos / tsk_h6lbufnuw4fd

Check that the lint enforces the Node 8.12 and Chromium 68 rules

OPEN High priority

Done when

The PR has a table of rule against enforced or not, before and after. Each new check has a test that fails on a sample of the forbidden construct. `sh tools/check.sh` passes under Node 8.12.0 and current Node, and violations found are listed with file and line. The PR says nothing ran on a real TV.

Details

AGENTS.md rule 3 forbids, in the service: ??, ?., fs.rmSync, fs.cpSync, mkdirSync({recursive}), crypto.randomInt, fs.promises, global URL, http.get(url, options), the timeout option on child processes. The pages must be ES5 style, animate only transform and opacity, and use no flex gap. Read tools/lint.js, tools/oldchrome.js and eslint.config.js and list which of these rules are enforced automatically and which are not. For each rule that is not enforced, add a check that fails on the forbidden construct, with a test case that shows it failing. Then run the checks over the whole repo; list real violations in the PR and fix them only if the fix is tiny, otherwise list them for new tasks. Do not touch helper/addons-bundled/iptv (another task covers it).

What happened

In order. Text written by an agent is marked: read it as a hint.
  1. @lasharor Proposed the task