@yasainet/eslint 0.0.74 → 0.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/README.md +4 -104
  2. package/package.json +7 -1
  3. package/src/cli/test-audit.mjs +97 -0
  4. package/src/common/CLAUDE.md +17 -0
  5. package/src/common/_internal/constants.mjs +1 -1
  6. package/src/common/_internal/import-patterns.mjs +2 -2
  7. package/src/common/_internal/selectors.mjs +4 -2
  8. package/src/common/base/typescript.mjs +13 -7
  9. package/src/common/boundaries/entry-point.mjs +1 -1
  10. package/src/common/cross-cutting/ban-alias.mjs +1 -1
  11. package/src/common/cross-cutting/features-ts-only.mjs +1 -1
  12. package/src/common/cross-cutting/no-colocated-test.mjs +18 -0
  13. package/src/common/index.mjs +2 -0
  14. package/src/common/layers/entries.mjs +15 -9
  15. package/src/common/layers/queries.mjs +18 -14
  16. package/src/common/layers/schemas.mjs +6 -1
  17. package/src/common/layers/services.mjs +14 -8
  18. package/src/common/layers/utils.mjs +5 -1
  19. package/src/common/local-plugins/entry-single-service-call.mjs +3 -1
  20. package/src/common/local-plugins/entry-template.mjs +18 -16
  21. package/src/common/local-plugins/feature-name.mjs +1 -6
  22. package/src/common/local-plugins/form-state-naming.mjs +1 -1
  23. package/src/common/local-plugins/form-state-shape.mjs +8 -8
  24. package/src/common/local-plugins/import-path-style.mjs +2 -2
  25. package/src/common/local-plugins/index.mjs +2 -0
  26. package/src/common/local-plugins/layout-main-structural-only.mjs +1 -1
  27. package/src/common/local-plugins/namespace-import-name.mjs +1 -1
  28. package/src/common/local-plugins/no-any-return.mjs +1 -1
  29. package/src/common/local-plugins/no-colocated-test.mjs +26 -0
  30. package/src/common/local-plugins/queries-export.mjs +1 -1
  31. package/src/common/local-plugins/queries-namespace-import.mjs +1 -1
  32. package/src/common/local-plugins/schema-naming.mjs +2 -2
  33. package/src/common/local-plugins/supabase-columns-satisfies.mjs +1 -1
  34. package/src/common/local-plugins/supabase-select-typed-columns.mjs +5 -5
  35. package/src/deno/CLAUDE.md +10 -0
  36. package/src/deno/boundaries/entry-point.mjs +3 -3
  37. package/src/deno/boundaries/lib.mjs +1 -1
  38. package/src/deno/boundaries/utils.mjs +2 -2
  39. package/src/deno/local-plugins/flat-entry-point.mjs +1 -1
  40. package/src/next/CLAUDE.md +14 -0
  41. package/src/next/boundaries/components.mjs +2 -2
  42. package/src/next/boundaries/hooks.mjs +2 -2
  43. package/src/next/boundaries/page.mjs +2 -2
  44. package/src/next/boundaries/route.mjs +2 -2
  45. package/src/next/boundaries/sitemap.mjs +2 -2
  46. package/src/next/directives.mjs +4 -4
  47. package/src/next/layers/components.mjs +1 -1
  48. package/src/next/layers/hooks.mjs +1 -1
  49. package/src/next/tailwindcss.mjs +2 -2
  50. package/src/node/CLAUDE.md +7 -0
@@ -42,12 +42,12 @@ export const tailwindcssConfigs = [
42
42
  {
43
43
  pattern: "^(?!mx-auto$)m[trblxy]?-(?!auto$)[^-\\s]+$",
44
44
  message:
45
- "Avoid margin; control spacing with padding/gap (exceptions: mx-auto, -mt-*)",
45
+ "margin を避け、padding/gap で間隔を制御する (例外: mx-auto, -mt-*)",
46
46
  },
47
47
  {
48
48
  pattern: "^space-[xy]-[^-\\s]+$",
49
49
  message:
50
- "Avoid space-x/space-y (uses margin internally); use flex/grid + gap",
50
+ "space-x/space-y は避ける (内部で margin を使う)flex/grid + gap を使う",
51
51
  },
52
52
  ],
53
53
  },
@@ -0,0 +1,7 @@
1
+ # src/node/CLAUDE.md
2
+
3
+ Node.js entry。現状サブディレクトリ・固有 rule なし。
4
+
5
+ - `index.mjs` — Node.js entry。`src/common/` の rule を `scripts/features/` に適用するだけ
6
+
7
+ Node.js 固有の制約が必要になったら、このディレクトリに `boundaries/` 等を作成する。