@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.
- package/README.md +4 -104
- package/package.json +7 -1
- package/src/cli/test-audit.mjs +97 -0
- package/src/common/CLAUDE.md +17 -0
- package/src/common/_internal/constants.mjs +1 -1
- package/src/common/_internal/import-patterns.mjs +2 -2
- package/src/common/_internal/selectors.mjs +4 -2
- package/src/common/base/typescript.mjs +13 -7
- package/src/common/boundaries/entry-point.mjs +1 -1
- package/src/common/cross-cutting/ban-alias.mjs +1 -1
- package/src/common/cross-cutting/features-ts-only.mjs +1 -1
- package/src/common/cross-cutting/no-colocated-test.mjs +18 -0
- package/src/common/index.mjs +2 -0
- package/src/common/layers/entries.mjs +15 -9
- package/src/common/layers/queries.mjs +18 -14
- package/src/common/layers/schemas.mjs +6 -1
- package/src/common/layers/services.mjs +14 -8
- package/src/common/layers/utils.mjs +5 -1
- package/src/common/local-plugins/entry-single-service-call.mjs +3 -1
- package/src/common/local-plugins/entry-template.mjs +18 -16
- package/src/common/local-plugins/feature-name.mjs +1 -6
- package/src/common/local-plugins/form-state-naming.mjs +1 -1
- package/src/common/local-plugins/form-state-shape.mjs +8 -8
- package/src/common/local-plugins/import-path-style.mjs +2 -2
- package/src/common/local-plugins/index.mjs +2 -0
- package/src/common/local-plugins/layout-main-structural-only.mjs +1 -1
- package/src/common/local-plugins/namespace-import-name.mjs +1 -1
- package/src/common/local-plugins/no-any-return.mjs +1 -1
- package/src/common/local-plugins/no-colocated-test.mjs +26 -0
- package/src/common/local-plugins/queries-export.mjs +1 -1
- package/src/common/local-plugins/queries-namespace-import.mjs +1 -1
- package/src/common/local-plugins/schema-naming.mjs +2 -2
- package/src/common/local-plugins/supabase-columns-satisfies.mjs +1 -1
- package/src/common/local-plugins/supabase-select-typed-columns.mjs +5 -5
- package/src/deno/CLAUDE.md +10 -0
- package/src/deno/boundaries/entry-point.mjs +3 -3
- package/src/deno/boundaries/lib.mjs +1 -1
- package/src/deno/boundaries/utils.mjs +2 -2
- package/src/deno/local-plugins/flat-entry-point.mjs +1 -1
- package/src/next/CLAUDE.md +14 -0
- package/src/next/boundaries/components.mjs +2 -2
- package/src/next/boundaries/hooks.mjs +2 -2
- package/src/next/boundaries/page.mjs +2 -2
- package/src/next/boundaries/route.mjs +2 -2
- package/src/next/boundaries/sitemap.mjs +2 -2
- package/src/next/directives.mjs +4 -4
- package/src/next/layers/components.mjs +1 -1
- package/src/next/layers/hooks.mjs +1 -1
- package/src/next/tailwindcss.mjs +2 -2
- package/src/node/CLAUDE.md +7 -0
package/src/next/tailwindcss.mjs
CHANGED
|
@@ -42,12 +42,12 @@ export const tailwindcssConfigs = [
|
|
|
42
42
|
{
|
|
43
43
|
pattern: "^(?!mx-auto$)m[trblxy]?-(?!auto$)[^-\\s]+$",
|
|
44
44
|
message:
|
|
45
|
-
"
|
|
45
|
+
"margin を避け、padding/gap で間隔を制御する (例外: mx-auto, -mt-*)",
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
pattern: "^space-[xy]-[^-\\s]+$",
|
|
49
49
|
message:
|
|
50
|
-
"
|
|
50
|
+
"space-x/space-y は避ける (内部で margin を使う)。flex/grid + gap を使う",
|
|
51
51
|
},
|
|
52
52
|
],
|
|
53
53
|
},
|