eslint-plugin-cup
JSON →ESLint plugin for create-universal-package (cup), providing a custom no-undef rule that allows environment-specific globals (e.g., window, process) only when guarded by __BROWSER__ or __NODE__ checks. Current stable version 2.0.4, last release likely in 2019. Designed for universal code that runs in both browser and Node.js, enforcing that environment-sensitive globals are used only within appropriate conditional blocks. Requires ESLint 5.x or 6.x. Not actively maintained.
Traffic · last 30 days ↓80% vs prev 7d
total hits 16
actors 5 distinct systems
last hit 4d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇧🇷 Brazil · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/eslint-plugin-cup
compatibility /v1/registry/eslint-plugin-cup/compatibility