Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule for invalid @IBInspectable #756

Closed
ikonst opened this issue Aug 14, 2016 · 1 comment
Closed

Rule for invalid @IBInspectable #756

ikonst opened this issue Aug 14, 2016 · 1 comment

Comments

@ikonst
Copy link

ikonst commented Aug 14, 2016

I've been thinking of adding a rule flagging invalid uses of @IBInspectable such as:

  • variables with unsupported types (only a handful of types are supported by IB)
  • variables with inferred types (unsupported by IB)

Do we want to add add rules that detect likely bugs rather than just stylistic issues? The contributing guide does not answer this question.

@ikonst ikonst changed the title Rule for invalid @IBDesignables Rule for invalid @IBInspetable Aug 14, 2016
@ikonst ikonst changed the title Rule for invalid @IBInspetable Rule for invalid @IBInspectable Aug 14, 2016
@jpsim
Copy link
Collaborator

jpsim commented Aug 21, 2016

Do we want to add add rules that detect likely bugs rather than just stylistic issues?

Sure! We already do this for one or two rules. Feel free to clarify that in the contributing guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants