Lint fixes: apply ESLint/Prettier auto-fixes#18
Conversation
Runs wp-scripts lint-js --fix on the JS sources, resolving 42 of 57 lint issues (mostly Prettier formatting and missing curly braces). Also merges duplicate @wordpress/editor imports in MultiAuthorPlugin.js. Remaining errors require non-trivial structural decisions (experimental WP APIs, JSDoc types, browser globals) and are left for follow-up. Nightshift-Task: lint-fix Nightshift-Ref: https://github.com/marcus/nightshift
|
Iteration-2 verification: the duplicate Re-ran No code changes pushed in this iteration; the fix is already in commit ce7eb14. Nightshift-Task: lint-fix |
Summary
wp-scripts lint-js --fixon all JS sources, resolving 42 of 57 lint issues (Prettier formatting, missing curly braces).@wordpress/editorimports inMultiAuthorPlugin.js.Test plan
npx wp-scripts test-unit-js— 9/9 tests passnpx wp-scripts lint-style— cleannpx wp-scripts lint-js— 14 errors remain (down from 57), all require manual judgement🤖 Generated with Claude Code