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 stale · no recent hits
total hits 13
actors 4 distinct systems
last hit 17d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France
Resources
API endpoints
full doc /v1/registry/eslint-plugin-ternaries
compatibility /v1/registry/eslint-plugin-ternaries/compatibility