Issues (8)

src/bar.js (5 issues)

1
export const bar = (baz) => {
2
  return baz ? 1 : (baz ? 3 : 4);
3
4
  console.log(100) // unreachable
0 ignored issues
show
This code is unreachable and can thus be removed without consequences.
Loading history...
console.log looks like debug code. Are you sure you do not want to remove it?
Loading history...
5
}
6
7
8
if (a == b) {
0 ignored issues
show
The variable a seems to be never declared. If this is a global, consider adding a /** global: a */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
The variable b seems to be never declared. If this is a global, consider adding a /** global: b */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
9
  console.log(1);
0 ignored issues
show
console.log looks like debug code. Are you sure you do not want to remove it?
Loading history...
10
}
11