Skip to content

Add AI Guard - #1949

Merged
mre merged 1 commit into
analysis-tools-dev:masterfrom
YashJadhav21:add-eslint-plugin-ai-guard
Dec 3, 2026
Merged

mre merged 1 commit into
analysis-tools-dev:masterfrom
YashJadhav21:add-eslint-plugin-ai-guard

Conversation

@YashJadhav21

Copy link
Copy Markdown
Contributor

Adds AI Guard (eslint-plugin-ai-guard, MIT) as data/tools/eslint-plugin-ai-guard.yml.

It's an ESLint plugin and CLI for problems that are common in AI-generated JavaScript and TypeScript. It's deterministic and doesn't call an LLM, so the entry is tagged ai-generated-code but not uses-llm. There are 33 AST rules covering async misuse, error handling, security and agent shortcuts such as placeholder implementations and tests with no assertions. ai-guard integrity reports changes that weaken checks: skipped or deleted tests, new suppressions, lowered coverage or TypeScript settings. Output can be SARIF 2.1.0 for GitHub Code Scanning. The rules also run unchanged in Oxlint.

Requirements:

  • Public since 2026-04-08, on GitHub and npm (more than six months)
  • 21 stars
  • 3 human contributors (YashJadhav21, Vaish16-code, ThermoclineLeviathan)

I maintain the project. The generated README is not part of this PR.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

Contributing criteria check

[PASS] AI Guard

Source: https://github.com/ai-guard-dev/eslint-plugin-ai-guard

Criterion Result
Stars (min 20) pass 21 stars
Human contributors (min 2) pass 3 human contributors
Age (min 6 months) pass created 238 days ago (at least 6 months)

All tool eligibility criteria passed. Thank you for your contribution.

@mre
mre merged commit 1a0c6a4 into analysis-tools-dev:master Dec 3, 2026
4 checks passed
@mre

mre commented Dec 3, 2026

Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants