Repository navigation
fix(raycast): [skip-release] rename the on/off commands and use the store's prettier width - #40
Merged
Merged
Conversation
…tore's prettier width Two review comments on the store submission (raycast/extensions#31010). The repository requires printWidth 120; the extension was formatted at 100. The .prettierrc now matches and focus-window.tsx is reformatted, nothing else changed in it. "Turn on Focus Follows Mouse" and "Turn off Focus Follows Mouse" sat between two linters: the store review wants "Turn On" and "Turn Off" in Title Case, while ray lint warns that "on" and "off" must stay lowercase. "Enable Focus Follows Mouse" and "Disable Focus Follows Mouse" satisfy both, read as verb plus noun the way the guidelines ask, and match the command names the files already carry. README and CHANGELOG follow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Greptile left two comments on the store submission (raycast/extensions#31010). Both are repository rules, so both are addressed here rather than argued.
Prettier width. raycast/extensions requires
printWidth: 120; the extension was formatted at 100. The.prettierrcnow matches andfocus-window.tsxis reformatted bynpm run fix-lint. Nothing else in that file changed.Command titles. "Turn on Focus Follows Mouse" and "Turn off Focus Follows Mouse" were caught between two linters: the store review wants "Turn On" and "Turn Off" in Title Case, while
ray lintwarns that "on" and "off" must stay lowercase. Renaming them to Enable Focus Follows Mouse and Disable Focus Follows Mouse satisfies both, reads as verb plus noun the way the guidelines ask, and matches theenableanddisablecommand names the source files already carry. README and CHANGELOG follow. The store PR description is already updated to the new names.ray lintandray buildpass with no warnings. Once merged,npm run publishfromraycast/pushes this to the open store PR.[skip-release]is belt and braces: the diff is confined toraycast/, which release.yml already ignores.