Skip to content

audit all suggestions for optional parens #1052

Closed
@oli-obk

Description

@oli-obk
  1. Create a function that takes a parent-expr, child-expr, suggestion-text and produces a suggestion text with potentially added parens
  2. change all existing parens adding suggestions to use the function
  3. audit all other suggestions to check if they need to use the function
  4. Bonus points: do 3. with a lint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions