Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 305 Bytes

no-log.md

File metadata and controls

14 lines (9 loc) · 305 Bytes

no-log

✅ The extends: 'recommended' property in a configuration file enables this rule.

{{log}} will produce messages in the browser console. That is undesirable in a production environment.

Examples

This rule forbids the following:

{{log}}
{{log "foo" var}}