noWarnwarn() is a raw output function lacking log levels, timestamps, and filtering. Production systems require structured logging for debugging and monitoring. Replace warn(...) with Log.warnsmall-rules/no-warnUse Log instead of warn().
Same reasoning as print(). warn() is just print() with a different output channel: no levels, no
filtering, useless in production.
Use Log instead. It handles severity through its
API, not through which global you called. Not recommended to suppress this one either.
noWarnwarn() is a raw output function lacking log levels, timestamps, and filtering. Production systems require structured logging for debugging and monitoring. Replace warn(...) with Log.This rule does not accept options.
warn('Hello');Log.warn('Hello');