prettier-plugin-firestore-rules icon indicating copy to clipboard operation
prettier-plugin-firestore-rules copied to clipboard

Format your firestore security rules using prettier.

Results 6 prettier-plugin-firestore-rules issues
Sort by recently updated
recently updated
newest added

- Modifies test to reproduce #11

I get the following error code and it does not work properly. ["ERROR" - 11:15:39] Error formatting document. ["ERROR" - 11:15:39] Expected "allow", "match", comment, or whitespace but "f" found....

For example: ```js rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /users/{userId} { allow get: if request.auth != null && request.auth.uid == userId; } } } ``` On...

Right now it doesn't seem to print line numbers at all on errors. I put a simple console.log(location) into the place in the parser the error is generated and it...

So while using this library to format some code, I've noticed that it's adding weird `.` before `&&`s in my rules. For example take this string: ```TypeScript const rules =...