Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 667 Bytes

File metadata and controls

46 lines (37 loc) · 667 Bytes

@rubriclab/config

Developer config files such as Biome, TypeScript, and PostCSS.

Usage

bun add @rubriclab/config

Biome

// biome.json
{
	"extends": ["@rubriclab/config/biome"]
}

TypeScript

// tsconfig.json
{
	"compilerOptions": {
		"baseUrl": ".",
		"paths": {
			"@/*": ["./src/*"]
		},
		"plugins": [{ "name": "next" }],
		"target": "esnext"
	},
	"exclude": ["node_modules"],
	"extends": "@rubriclab/config/tsconfig",
	"include": ["./src/**/*.ts", "./src/**/*.tsx", ".next/types/**/*.ts", "next-env.d.ts"]
}

PostCSS

// postcss.config.mjs
export default {
	plugins: ["@tailwindcss/postcss"]
}