openpencil/src
Danila Poyarkov 17faf4df93 Add strict lint rules to catch AI-generated slop at compile time
New rules:
- typescript/no-unnecessary-condition: catches redundant ?., ??, and
  always-true/false branches (22 violations fixed)
- typescript/consistent-return: mixed return/no-return in functions
- typescript/no-unnecessary-type-parameters: unused generic params
- typescript/prefer-for-of: use for-of instead of indexed loops
- unicorn/no-nested-ternary: forbid nested ternaries
- unicorn/consistent-existence-index-check: !== -1 over >= 0
- no-empty-function: no empty function bodies

Fixed all 32 violations: removed unnecessary optional chaining on
non-nullish values, tightened Record types to Partial<Record> where
index access can return undefined, replaced nested ternary with
lookup table, added exhaustive default cases.
2026-03-09 09:16:07 +03:00
..
ai Fix all code review issues in RPC bridge 2026-03-07 20:42:37 +03:00
automation Add strict lint rules to catch AI-generated slop at compile time 2026-03-09 09:16:07 +03:00
components Add strict lint rules to catch AI-generated slop at compile time 2026-03-09 09:16:07 +03:00
composables Add strict lint rules to catch AI-generated slop at compile time 2026-03-09 09:16:07 +03:00
engine Remove re-export shims and import types directly from core 2026-03-09 08:56:47 +03:00
shims Multi-provider AI, sucrase JSX, Figma zoom shortcuts (#72) 2026-03-08 22:05:18 +03:00
stores Add strict lint rules to catch AI-generated slop at compile time 2026-03-09 09:16:07 +03:00
utils Refactor mobile drawer: use VueUse composables, unify panels 2026-03-05 22:13:24 +03:00
views Update README roadmap, features, tool counts, and project structure 2026-03-08 00:04:22 +03:00
app.css Fix scrollbar: use utility class instead of global selector 2026-03-04 09:35:30 +03:00
App.vue Eliminate as Record<string, unknown> casts 2026-03-06 21:43:32 +03:00
constants.ts Remove re-export shims and import types directly from core 2026-03-09 08:56:47 +03:00
demo.ts Delete re-export shims, import from @open-pencil/core directly 2026-03-06 21:42:56 +03:00
env.d.ts Eliminate as Record<string, unknown> casts 2026-03-06 21:43:32 +03:00
global.d.ts Release v0.3.2 2026-03-02 11:36:18 +03:00
main.ts Fix all type-aware lint warnings 2026-03-08 23:04:44 +03:00
router.d.ts Move demo to /demo route, add @unhead/vue for title management 2026-03-06 20:54:48 +03:00
router.ts Move demo to /demo route, add @unhead/vue for title management 2026-03-06 20:54:48 +03:00