Migrate from tsc to tsdown for multi-format (ESM/CJS) builds. Replace Prettier with Biome for formatting and linting. Upgrade ESLint to flat config (v10) and TypeScript to v6. Drop Yarn in favor of npm for package management. Configure dual ESM/CJS exports with proper type declarations. Add publishing configuration and release scripts. Reformat source files to 2-space indentation.
11 lines
230 B
JavaScript
11 lines
230 B
JavaScript
import js from '@eslint/js';
|
|
import tseslint from '@typescript-eslint/eslint-plugin';
|
|
|
|
export default [
|
|
js.configs.recommended,
|
|
...tseslint.configs['flat/recommended'],
|
|
{
|
|
ignores: ['dist/**', 'node_modules/**'],
|
|
},
|
|
];
|