diff --git a/package.json b/package.json index 2c72a0a..140a3d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mapringg/standard", - "version": "1.2.6", + "version": "1.2.7", "description": "One oxlint config and plugin for every repository.", "license": "MIT", "repository": "github:mapringg/standard", diff --git a/src/plugin/repo-shape.mjs b/src/plugin/repo-shape.mjs index b00ca0f..20fc3e8 100644 --- a/src/plugin/repo-shape.mjs +++ b/src/plugin/repo-shape.mjs @@ -16,7 +16,17 @@ import { } from "./paths.mjs"; const PACKAGES = new Set(["tokens", "i18n"]); -const TOP_DIRS = new Set(["apps", "packages", "infra", "scripts", ".github", ".githooks", ".claude", ".vscode"]); +const TOP_DIRS = new Set([ + "apps", + "packages", + "infra", + "scripts", + ".github", + ".githooks", + ".claude", + ".vscode", + ".amp", +]); const CHECK_SCRIPT = /(?:^|[-.])(?:check|lint|verify|validate|audit|enforce)(?:[-.]|$)/; const DOCS = new Set(["README.md", "AGENTS.md"]); const CODE = /\.[cm]?[jt]sx?$/; diff --git a/test/repo-shape.test.mjs b/test/repo-shape.test.mjs index 6319f7c..5566ed6 100644 --- a/test/repo-shape.test.mjs +++ b/test/repo-shape.test.mjs @@ -27,6 +27,7 @@ test("repo-shape accepts the standard layout", (t) => { "AGENTS.md": "x", "apps/web/README.md": "x", ".claude/skills/verify/SKILL.md": "x", + ".amp/services.yaml": "x", "apps/web/src/app/globals.css": "x", "apps/web/next.config.ts": code, "apps/web/src/features/task/task-list.tsx": code,