fix: format .prettierrc and the OpenCode shellcheck plugin with Prettier #163
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In a repository upgraded to
457795c,prettier --checkwith the shipped.prettierrc(proseWrap: always,printWidth: 72) fails on two filesthat Agent Foundry provides:
.opencode/plugins/shellcheck.js: theexecFile(...)call and theconst report = ...line exceed the 72-column print width..prettierrc: Prettier wants a trailing comma after the last key.A project that keeps its tracked files Prettier-clean either edits these
two files, which then conflict at the next upgrade, or lives with the
failure. Running
prettier --writeon both at the source fixes it.