openpencil/packages
Danila Poyarkov cd614ef8f7 Add custom JS lint rules, replace inline types with named imports
Three oxlint JS plugin rules in lint/plugin.js:

- no-inline-named-types: configurable shape→name map catches inline
  { x: number; y: number } etc. and suggests Vector, Color, GUID,
  Rect, Matrix from @open-pencil/core
- no-structuredclone-scene-arrays: flags structuredClone on
  fills/strokes/effects — use typed copy helpers instead
- no-math-random: bans Math.random() in favor of crypto

Fixed 40 violations across 13 files: replaced inline type literals
with named imports, switched figma-api.ts structuredClone calls to
copyFills/copyStrokes/copyEffects.
2026-03-09 09:41:28 +03:00
..
acp Release v0.8.0 2026-03-08 00:20:47 +03:00
cli Release v0.8.0 2026-03-08 00:20:47 +03:00
core Add custom JS lint rules, replace inline types with named imports 2026-03-09 09:41:28 +03:00
demos feat: mobile layout, PWA support (#27) (#27) 2026-03-05 19:51:51 +03:00
docs Update README and docs for CSS Grid support 2026-03-08 18:29:44 +03:00
mcp Release v0.8.0 2026-03-08 00:20:47 +03:00