Skip to content

Commit

Permalink
chore: configs
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed May 14, 2024
1 parent 633b7f7 commit fe987f3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"$schema": "https://biomejs.dev/schemas/1.7.0/schema.json",
"extends": ["@hugomrdias/configs/biome"]
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "0.0.0",
"private": true,
"workspaces": ["packages/*"],
"packageManager": "[email protected]",
"engines": {
"node": ">=20"
},
Expand Down
14 changes: 12 additions & 2 deletions packages/configs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ pnpm install @hugomrdias/configs

## Usage

`biome.json`

```json

{
"extends": ["@hugomrdias/configs/biome"]
}

```

`package.json`

```json
Expand Down Expand Up @@ -38,7 +48,7 @@ pnpm install @hugomrdias/configs
"outDir": "dist",
"emitDeclarationOnly": true
},
"include": ["src", "test.js", "cli.js", "package.json"]
"include": ["src", "test"]
}
```

Expand All @@ -52,7 +62,7 @@ For typescript code bases:
"module": "NodeNext",
"moduleResolution": "NodeNext"
},
"include": ["src", "test.js", "cli.js", "package.json"]
"include": ["src", "test"]
}
```

Expand Down

0 comments on commit fe987f3

Please sign in to comment.