=== exit code
0
=== end of exit code

=== stdout - plain


┌─────────────────┐
│ 2 Code Findings │
└─────────────────┘

    targets/basic/stupid.js
   ❯❯❱ rules.javascript-basic-eqeq-bad
          useless comparison

            3┆ console.log(x == x)

    targets/basic/stupid.py
   ❯❯❱ rules.eqeq-is-bad
          useless comparison operation `a + b == a + b` or `a + b != a + b`
          Details: https://sg.run/xyz1

            3┆ return a + b == a + b


=== end of stdout - plain

=== stderr - plain


┌─────────────┐
│ Scan Status │
└─────────────┘
  Scanning 24 files tracked by git with 4 Code rules:

  Language   Rules   Files          Origin   Rules
 ──────────────────────────        ────────────────
  python         3      11          Custom       4
  js             1       3



┌──────────────┐
│ Scan Summary │
└──────────────┘
✅ Scan completed successfully.
 • Findings: 2 (2 blocking)
 • Rules run: 4
 • Targets scanned: 14
 • Parsed lines: ~100.0%
 • Scan was limited to files tracked by git
 • For a detailed list of skipped files and lines, run semgrep with the --verbose flag
Ran 4 rules on 14 files: 2 findings.

=== end of stderr - plain

=== stdout - color


┌─────────────────┐
│ 2 Code Findings │
└─────────────────┘

  [36m[22m[24m  targets/basic/stupid.js[0m
   [31m❯❯❱[0m [1mrules.javascript-basic-eqeq-bad[0m
          useless comparison

            3┆ console.log([1mx == x[0m)

  [36m[22m[24m  targets/basic/stupid.py[0m
   [31m❯❯❱[0m [1mrules.eqeq-is-bad[0m
          useless comparison operation `a + b == a + b` or `a + b != a + b`
          Details: https://sg.run/xyz1

            3┆ return [1ma + b == a + b[0m


=== end of stdout - color

=== stderr - color


┌─────────────┐
│ Scan Status │
└─────────────┘
  Scanning 24 files tracked by git with 4 Code rules:

  Language   Rules   Files          Origin   Rules
 ──────────────────────────        ────────────────
  python         3      11          Custom       4
  js             1       3



┌──────────────┐
│ Scan Summary │
└──────────────┘
✅ Scan completed successfully.
 • Findings: 2 (2 blocking)
 • Rules run: 4
 • Targets scanned: 14
 • Parsed lines: ~100.0%
 • Scan was limited to files tracked by git
 • For a detailed list of skipped files and lines, run semgrep with the --verbose flag
Ran 4 rules on 14 files: 2 findings.

=== end of stderr - color