eslint-plugin-ternaries
JSON →An ESLint plugin that provides rules specifically for controlling the use of ternary expressions in JavaScript. The current stable version is 1.1.0, which adds the no-empty-ternary rule to complement the existing no-null-ternary rule. This plugin is designed for teams that want to enforce coding standards around ternaries, such as disallowing null or empty string values in ternary branches. It is a lightweight plugin with no additional dependencies besides ESLint itself.
Traffic · last 30 days ↓86% vs prev 7d
total hits 11
actors 4 distinct systems
last hit 4d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇮🇳 India
Resources
API endpoints
full doc /v1/registry/eslint-plugin-ternaries
compatibility /v1/registry/eslint-plugin-ternaries/compatibility