From 508073331191368c4645c9e22592273c6cb13249 Mon Sep 17 00:00:00 2001 From: Sorawit Kongnurat Date: Sat, 21 Nov 2026 13:38:22 +0700 Subject: [PATCH] Remove .amp from the allowed top-level folders --- package.json | 2 +- src/plugin/repo-shape.mjs | 12 +----------- test/repo-shape.test.mjs | 1 - 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 140a3d1..d877149 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mapringg/standard", - "version": "1.2.7", + "version": "1.2.8", "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 20fc3e8..b00ca0f 100644 --- a/src/plugin/repo-shape.mjs +++ b/src/plugin/repo-shape.mjs @@ -16,17 +16,7 @@ import { } from "./paths.mjs"; const PACKAGES = new Set(["tokens", "i18n"]); -const TOP_DIRS = new Set([ - "apps", - "packages", - "infra", - "scripts", - ".github", - ".githooks", - ".claude", - ".vscode", - ".amp", -]); +const TOP_DIRS = new Set(["apps", "packages", "infra", "scripts", ".github", ".githooks", ".claude", ".vscode"]); 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 5566ed6..6319f7c 100644 --- a/test/repo-shape.test.mjs +++ b/test/repo-shape.test.mjs @@ -27,7 +27,6 @@ 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,