react-auditor 0.2.0

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
11
12
13
14
15
16
17
18
import Head from 'next/head';
import Script from 'next/script';

export default function Home() {
  return (
    <div>
      <head>
        <title>My Page</title>
        <script src="https://example.com/widget.js"></script>
      </head>
      <img src="/logo.png" alt="Logo" />
      <a href="/about">About</a>
      <a href="https://example.com">External</a>
      <a href="./contact">Contact</a>
      <Script src="https://example.com/analytics.js" />
    </div>
  );
}