utils/web_ui/eslint.config.js
Krzysztof kuhy Rudnicki decf5824e6
Some checks failed
dependency freshness / dependencies on newest stable (push) Waiting to run
file length / file-length (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
palette drift / palette (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
web_ui tests / test (push) Has been cancelled
web_ui 0.5.0: port to Astro + custom element
RangeSlider.astro + <range-slider> replace the React component.
Pure helpers, tokens.css and range-slider.css are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWYdwRAtMg7ki6TKxuU
2026-11-01 20:03:45 +01:00

32 lines
1.2 KiB
JavaScript

// The shared preset, plus one frozen API name. This
// package is one of the repos the bar is defined for.
import { defineConfig } from "@kuhyx/ts-config";
export default defineConfig({
// Flat files under src/, no layers to fence and no alias configured.
aliasOnly: false,
// Generated by `astro check`, which lint runs after ESLint.
ignores: [".astro/**"],
overrides: [
{
files: ["src/RangeSlider.astro.test.ts"],
// Named after the component it renders, which is PascalCase on disk.
rules: { "unicorn/filename-case": "off" },
},
{
files: ["src/text.ts"],
rules: {
// `fuzzyMatch` is public API at four call sites in dufs-cloud and
// awesome-mcp-explorer; the preset's prefix list would rename it to
// `matchesFuzzy`, a breaking change for no safety gain. Revisit at
// the next major.
"unicorn/consistent-boolean-name": "off",
},
},
],
// tsconfig.json excludes the tests so they never land in dist/; the lint
// project widens the include for type-aware rules (see tsconfig.lint.json).
project: ["./tsconfig.lint.json"],
tsconfigRootDir: import.meta.dirname,
});