eslint-plugin-relay
JSON →ESLint plugin for Relay, version 2.0.0, released under MIT license. It provides lint rules to catch common problems in Relay code, such as invalid GraphQL syntax, naming convention violations, missing colocated fragment spreads, and unused fields. The plugin ships with recommended and strict configurations, and supports suppression of certain rules within graphql tagged templates. Key differentiators: it provides faster feedback than the Relay Compiler for syntax and naming issues, and includes rules like `must-colocate-fragment-spreads` that enforce best practices for data fetching. It is actively maintained by the Relay team.
Traffic · last 30 days ↓60% vs prev 7d
total hits 13
actors 4 distinct systems
last hit 2d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇪 Sweden · 🇩🇪 Germany · 🇬🇧 United Kingdom
Resources
homepagerelay.dev ↗
API endpoints
full doc /v1/registry/eslint-plugin-relay
compatibility /v1/registry/eslint-plugin-relay/compatibility