Add @coderrob/eslint-plugin-zero-tolerance to ESLint config and fix all violations#16
Add @coderrob/eslint-plugin-zero-tolerance to ESLint config and fix all violations#16
Conversation
Co-authored-by: Coderrob <7213776+Coderrob@users.noreply.github.com>
…al fixes Co-authored-by: Coderrob <7213776+Coderrob@users.noreply.github.com>
|
@copilot ensure that the type check errors are corrected |
…ing.raw template Co-authored-by: Coderrob <7213776+Coderrob@users.noreply.github.com>
Fixed in dfdcf5d. There were 3 type errors introduced by this PR:
The remaining 52 type errors are pre-existing environment issues (e.g. |
|
@copilot continue till all lint errors are fixed. |
…iles Co-authored-by: Coderrob <7213776+Coderrob@users.noreply.github.com>
Significant progress made in ad0741f — reduced from 319 problems (7 errors, 312 warnings) down to 11 warnings, 0 errors: All 7 errors fixed:
~295 warnings resolved:
11 warnings remaining in |
|
@copilot update zero-tolerance to latest version, lint, and fix failing lint errors and warnings. |
Agent-Logs-Url: https://github.com/Coderrob/barrel-roll/sessions/2886239e-511f-4215-af94-eb6e02e86a07 Co-authored-by: Coderrob <7213776+Coderrob@users.noreply.github.com>
Done in 9082a52. Updated Key changes:
Result: 0 errors, 0 warnings across the entire codebase. |
|
@copilot fix failing build: Error: src/test/unit/core/barrel/export-cache.test.ts(78,31): error TS2339: Property 'getExports' does not exist on type 'ExportCache'. |
Agent-Logs-Url: https://github.com/Coderrob/barrel-roll/sessions/21c55d85-39c6-4317-bee4-c7a265fdd004 Co-authored-by: Coderrob <7213776+Coderrob@users.noreply.github.com>
Fixed in c423000. The test was calling |
|
@copilot please fix failing unit tests |
Agent-Logs-Url: https://github.com/Coderrob/barrel-roll/sessions/c44c19ee-3c83-4065-aa51-7282e23ef46a Co-authored-by: Coderrob <7213776+Coderrob@users.noreply.github.com>
Fixed in 6cea287. The immutability refactor in |
@coderrob/eslint-plugin-zero-tolerancepackagezero-toleranceplugin and rules toeslint.config.mjs(recommended config)@coderrob/eslint-plugin-zero-toleranceto latest version (1.1.4 → 1.2.2)no-array-mutation,no-object-mutation,no-date-now,no-boolean-return-trap,prefer-readonly-parameters)export-cache.test.tscallingcache.getExports()— renamed tocache.resolveExports()barrel-content.buildercollectAllExportLineswas throwing on undefined entries instead of skipping them (regression from immutability refactor)💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.