robotframework-robocop
robotframework-robocop copied to clipboard
Add rules for BREAK, CONTINUE
Handle BREAK and CONTINUE. Possible rules (update old or create new):
- Do not name keyword after reserved words (#570)
- Do not use BREAK, CONTINUE outside FOR, WHILE or TRY EXCEPT (check how it works - possibly prohibit in finally) (#562)
- Recommend to use them inside IF statement (otherwise the code after them will be dead)
- Label
Exit For Loop
,Exit For Loop If
,Continue For Loop
,Continue For Loop If
as deprecated and suggest using BREAK or CONTINUE. (#576)