Sign in

Stephen Zhou

@hyoban.cc
66 followers 168 following 7 posts

Do what you like 中文/日常 -> @hyoban.bsky.social

PostsRepliesMedia
Stephen Zhou @hyoban.cc · 07/01/2026
When using ESLint to format your code
000
Stephen Zhou @hyoban.cc · 06/02/2025
It's very easy to use. Just write the configuration like this:
import { defineBuildConfig } from "unbuild";

export default defineBuildConfig({
	entries: [
		{
			builder: "mkdist",
			declaration: true,
			format: "cjs",
			input: "./src",
			outDir: "./dist",
			pattern: ["**/*.ts", "!**/*.test.ts"],
		},
	],
});
000