mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 21:27:14 +01:00
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
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
32 lines
1.2 KiB
JavaScript
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,
|
|
});
|