We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
firebase-tools: 11.19.0
Platform: macOS
Using ternary operators inside the storage.rules file outputs a warning. A similar issue was reported and fixed 2 years ago for Firestore rules.
allow read: if true ? true : false;
firebase emulators:start
According to the documentation the ternary operator is allowed for both Cloud Firestore & Cloud Storage.
⚠ Use of ternary operator not allowed in (...)/storage.rules:(line)
The text was updated successfully, but these errors were encountered:
right now the linter in the firebase console is disabled is related with this issue?
Sorry, something went wrong.
tonyjhuang
Successfully merging a pull request may close this issue.
[REQUIRED] Environment info
firebase-tools:
11.19.0
Platform:
macOS
[REQUIRED] Test case
Using ternary operators inside the storage.rules file outputs a warning. A similar issue was reported and fixed 2 years ago for Firestore rules.
[REQUIRED] Steps to reproduce
allow read: if true ? true : false;
)firebase emulators:start
[REQUIRED] Expected behavior
According to the documentation the ternary operator is allowed for both Cloud Firestore & Cloud Storage.
[REQUIRED] Actual behavior
⚠ Use of ternary operator not allowed in (...)/storage.rules:(line)
The text was updated successfully, but these errors were encountered: