@mh4gf/configs
v0.5.0
Published
configs
Readme
@mh4gf/configs
Various configuration files used by @mh4gf.
- tsconfig.json
- biome.json
Install
pnpm add -D @mh4gf/configsusage
tsconfig.json
// in tsconfig.json
{
"extends": "@mh4gf/configs/typescript/base.json"
}biome.json
For basic configuration:
// in biome.json
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"extends": ["./node_modules/@mh4gf/configs/biome/index.jsonc"]
}For React projects:
// in biome.json
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"extends": [
"./node_modules/@mh4gf/configs/biome/index.jsonc",
"./node_modules/@mh4gf/configs/biome/react.jsonc"
]
}For Node.js projects:
// in biome.json
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"extends": [
"./node_modules/@mh4gf/configs/biome/index.jsonc",
"./node_modules/@mh4gf/configs/biome/nodejs.jsonc"
]
}