react-auditor 0.5.1

A blazing-fast Rust CLI to scan JS/TS/React code for best practices, quality, and security issues.
Documentation
1
2
3
4
5
6
7
8
9
10
function RefComponent() {
  return <div>hello</div>;
}

function MyComponent() {
  this.state.count = 42;
  const x: any = 1;
  const y = 1 as any;
  return <div>{x}{y}</div>;
}