You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message: 'Do not use the Boolean constructor. To cast a value to a boolean, use double negation: !!value',
30
+
},
31
+
],
32
+
},
33
+
{
34
+
code: 'String(obj)',
35
+
errors: [
36
+
{
37
+
message: 'Do not use the String constructor. To cast a value to a string, concat it with the empty string (unless it\'s a symbol, which has different semantics): \'\' + value',
38
+
},
39
+
],
40
+
},
41
+
{
42
+
code: 'Number(string)',
43
+
errors: [
44
+
{
45
+
message: 'Do not use the Number constructor. To cast a value to a number, use the plus operator: +value',
0 commit comments