Skip to content

Conversation

@MaesterChestnut
Copy link
Contributor

@MaesterChestnut MaesterChestnut commented May 15, 2024

Modify prettier rules for docs/firebase since Firebase Lint requires strings use doublequotes and no spaces next to curly braces

@MaesterChestnut MaesterChestnut marked this pull request as ready for review May 15, 2024 20:19
@MaesterChestnut MaesterChestnut marked this pull request as draft May 15, 2024 20:45
@MaesterChestnut MaesterChestnut marked this pull request as ready for review May 16, 2024 14:00
@MichaelDoyle
Copy link
Member

This looks good. The question I have going forward is, how to ensure these snippets continue to meet the standard, wrt the firebase linter.

@MaesterChestnut
Copy link
Contributor Author

Good call @MichaelDoyle; I added comments about why the prettier-ignore exists which should help the dev who comes next. I think a more sustainable solution will be to move the snippet code into a different repository that has Firebase ESLint running on it, similar to what Firestore has. @kevinthecheung not sure if we plan on extracting code snippets for Genkit in the future, but I think we have a good case to push us that way

@MaesterChestnut MaesterChestnut merged commit cd4cf9b into main May 20, 2024
@MaesterChestnut MaesterChestnut deleted the cc/docFix2 branch May 20, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants