Closed aljones15 closed 4 years ago
Adds 2 new rules:
https://eslint.org/docs/rules/no-cond-assign
https://eslint.org/docs/rules/valid-typeof
which results in:
if(a.foo = 'x') { // eslint does not like this } const color = 'foo' // eslint does not like this either typeof color === 'strnig';
Adds 2 new rules:
https://eslint.org/docs/rules/no-cond-assign
https://eslint.org/docs/rules/valid-typeof
which results in: