Skip to content

sobelow should not accept # sobelow_skip that are not needed #159

@marcandre

Description

@marcandre

I notice in our code an instance of

  # sobelow_skip ["XSS.Raw"]
  def a_function(arg) do
    that_does_not_call_raw()
  end

I believe sobelow should raise an error on these. They do not reflect the code / current intention. Although unlikely, they could allow someone to add raw without it being super apparent in the diff of the resulting PR.

Thanks for sobelow

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogfeaturegood first issueSolution is relatively straight forward and/or already outlined in thread

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions