mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 20:07:18 +01:00
Some checks failed
dependency freshness / dependencies on newest stable (push) Has been cancelled
file length / file-length (push) Has been cancelled
md-naming / markdown naming convention (push) Has been cancelled
palette drift / palette (push) Has been cancelled
shared gate tests / gate unit tests (push) Has been cancelled
ts_config tests / test (push) Has been cancelled
ts_core tests / test (push) Has been cancelled
web_ui tests / test (push) Has been cancelled
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
30 lines
1.2 KiB
JavaScript
30 lines
1.2 KiB
JavaScript
// One deliberate violation per rule family in test/fixture, and the rule id
|
|
// that must catch it. A rule missing from this table is a rule the preset
|
|
// does not prove; a fixture file missing from it is a plant nobody checks.
|
|
export const EXPECTED = {
|
|
"e2e/home.spec.ts": [
|
|
"playwright/missing-playwright-await",
|
|
"playwright/no-conditional-in-test",
|
|
],
|
|
"src/components/button.tsx": [
|
|
"jsx-a11y/alt-text",
|
|
"jsx-a11y/click-events-have-key-events",
|
|
"react-hooks/set-state-in-effect",
|
|
"react-you-might-not-need-an-effect/no-derived-state",
|
|
],
|
|
"src/design-system/theme.ts": ["boundaries/dependencies"],
|
|
"src/helper.test.ts": ["vitest/expect-expect", "vitest/no-focused-tests"],
|
|
"src/pages/home.tsx": ["boundaries/dependencies"],
|
|
"src/router/routes.ts": ["boundaries/dependencies"],
|
|
"src/services/api.ts": [
|
|
"@typescript-eslint/no-explicit-any",
|
|
"@typescript-eslint/no-non-null-assertion",
|
|
"boundaries/dependencies",
|
|
"no-restricted-imports",
|
|
],
|
|
"src/Wrong_Name.ts": ["unicorn/filename-case"],
|
|
};
|
|
|
|
/** Files that must lint clean: proves the presets do not fire on good code. */
|
|
export const CLEAN = ["src/components/item-list.tsx", "src/mocks/user.ts", "src/utils/helper.ts"];
|