Skip to content

Files

Latest commit

 

History

History
25 lines (17 loc) · 347 Bytes

Lint-SelfAssignment.md

File metadata and controls

25 lines (17 loc) · 347 Bytes

Pattern: Use of self-assignment

Issue: -

Description

This rule checks for self-assignments.

Examples

# bad
foo = foo
foo, bar = foo, bar
Foo = Foo

# good
foo = bar
foo, bar = bar, foo
Foo = Bar

Further Reading