SketchUp / rubocop-sketchup

Rubocop cops for SketchUp - test against our Extension Warehouse technical requirements and other pitfalls
MIT License
14 stars 8 forks source link

Check for SKETCHUP_CONSOLE.show #135

Closed thomthom closed 1 year ago

thomthom commented 4 years ago

SKETCHUP_CONSOLE.show is for development, not something an extension should typically do, unless it's a development tool.

However, developers might add this temporarily for debugging and forget to remove it before publishing.

Warn against usage of SKETCHUP_CONSOLE.show - if it's a false positive for the rare cases of a development tool it can be disabled for the project.

Eneroth3 commented 1 year ago

Duplicate of #84