You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm more and more writing libraries meant to be used in SketchUp extensions, in addition to just writing SketchUp extensions themselves. I've been thinking of what cops are relevant to both an extension and a library, and which only applies to extensions.
From what I can see SketchupBugs, SketchupDeprecations, SketchupPerformance and SketchupSuggestions apply equally to extensions and libraries meant for extensions, while SketchupRequirements also contain extension specific things like FileStructure.
Perhaps SketchupRequirements could be split into a general SketchupRequirements and a more specific SketchupExtensionRequirements?
Maybe this is a rare use case and not worth taking into account in rubocop-sketchup, I would totally respect that. It's still possible to just disable cops as you go if you get an offense that doesn't apply to libraries, but official support could on the other hand encourage more people to publish reusable code as libraries.
The text was updated successfully, but these errors were encountered:
I'm more and more writing libraries meant to be used in SketchUp extensions, in addition to just writing SketchUp extensions themselves. I've been thinking of what cops are relevant to both an extension and a library, and which only applies to extensions.
From what I can see SketchupBugs, SketchupDeprecations, SketchupPerformance and SketchupSuggestions apply equally to extensions and libraries meant for extensions, while SketchupRequirements also contain extension specific things like FileStructure.
Perhaps SketchupRequirements could be split into a general SketchupRequirements and a more specific SketchupExtensionRequirements?
Maybe this is a rare use case and not worth taking into account in rubocop-sketchup, I would totally respect that. It's still possible to just disable cops as you go if you get an offense that doesn't apply to libraries, but official support could on the other hand encourage more people to publish reusable code as libraries.
The text was updated successfully, but these errors were encountered: