You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relay recommends<module_name>_<property_name> style naming for fragments. e.g., UserComponent_user. This is neither pascal case nor snake case. As far as I know, there is no way to config the naming convention rule to check for this type (I'd define it as [PascalCase]_[camelCase]). Allowing a custom regex would also work.
The text was updated successfully, but these errors were encountered:
It is common for react modules to be PascalCase and other modules to be camelCase, so it would be nice to somehow combine this rule with match-document-filename.
Relay recommends
<module_name>_<property_name>
style naming for fragments. e.g.,UserComponent_user
. This is neither pascal case nor snake case. As far as I know, there is no way to config the naming convention rule to check for this type (I'd define it as[PascalCase]_[camelCase]
). Allowing a custom regex would also work.The text was updated successfully, but these errors were encountered: