@devdogsuga/config
v0.1.2
Published
Shared tsconfig, ESLint and Vitest presets.
Readme
@devdogsuga/config
The shared tsconfig, ESLint and Vitest presets.
Config only, no runtime code. Each preset is a subpath export, taken as-is or merged with whatever a package adds on top:
import { nextEslintConfig } from "@devdogsuga/config/eslint"; // eslint.config.js
import { nodePreset } from "@devdogsuga/config/vitest/node"; // vitest.config.tsPlain TypeScript packages (no Next.js) use libraryEslintConfig from
@devdogsuga/config/eslint/library, which does not load eslint-config-next.
Pass project (and tsconfigRootDir) when tests live in a second tsconfig.
The tsconfig presets under tsconfig/ are the exception: they are extended by
relative path rather than by package specifier, because vitest's transform reads
these files too and does not resolve specifiers in extends.
No generated API reference — this package exports configuration, not symbols. Stack is the version-and-conventions page for the tools these presets configure.
