Pattern: Unnecessary raw string
Issue: -
Use raw string only when needed.
Example of incorrect code:
var s1 = r'a';
Example of correct code:
var s1 = 'a';
var s2 = r'$a';
var s3 = r'\a';
Pattern: Unnecessary raw string
Issue: -
Use raw string only when needed.
Example of incorrect code:
var s1 = r'a';
Example of correct code:
var s1 = 'a';
var s2 = r'$a';
var s3 = r'\a';