Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 508 Bytes

no-log.md

File metadata and controls

22 lines (13 loc) · 508 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}}

Related rules

References