Skip to content

1.1.12

Latest

Choose a tag to compare

@github-actions github-actions released this 10 Aug 21:20

Fix scorecard lint findings; bump to 1.1.12

Upgrade eslint-plugin-obsidianmd to the version the community scorecard
runs (0.4.1). The old 0.1.9 pin did not contain prefer-create-el or
prefer-window-timers, so those rules could never fire locally and the
scorecard reported findings that a green local lint had missed.

Fixes everything the newer rules surface in plugin source:

  • Move the static transform-origin to styles.css and route reset()
    through applyTransform, so setCssProps only ever writes runtime values.
  • Use reveal.createDiv() for the footer and slide number elements.
  • Use window.requestAnimationFrame for popout window compatibility.
  • Replace the redundant HTMLElement assertions with querySelector
    generics.

Also scope the plugin-only rules away from the Node build scripts, which
are not plugin source and are not scanned by the scorecard, and move the
dependency overrides to pnpm-workspace.yaml now that pnpm no longer reads
the package.json pnpm field.


Full Changelog: 1.1.11...1.1.12