Skip to content

Commit bbfd023

Browse files
committed
style: format
1 parent 775eedd commit bbfd023

7 files changed

Lines changed: 27 additions & 15 deletions

File tree

.claude/rules/agentskills.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Agent Skills
2+
3+
## Docs
4+
5+
- [Overview](https://agentskills.io/home.md): A simple, open format for giving agents new capabilities and expertise.
6+
- [Integrate skills into your agent](https://agentskills.io/integrate-skills.md): How to add Agent Skills support to your agent or tool.
7+
- [Specification](https://agentskills.io/specification.md): The complete format specification for Agent Skills.
8+
- [What are skills?](https://agentskills.io/what-are-skills.md): Agent Skills are a lightweight, open format for extending AI agent capabilities with specialized knowledge and workflows.

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616

1717
jobs:
1818
lint:
19-
runs-on: ["self-hosted", "linux", "x64", "ubuntu-2404", "aws"]
19+
runs-on: [self-hosted, linux, x64, ubuntu-2404, aws]
2020
steps:
2121
- uses: actions/checkout@v4
2222
with:
@@ -44,7 +44,7 @@ jobs:
4444
run: bun run lint
4545

4646
typecheck:
47-
runs-on: ["self-hosted", "linux", "x64", "ubuntu-2404", "aws"]
47+
runs-on: [self-hosted, linux, x64, ubuntu-2404, aws]
4848
steps:
4949
- uses: actions/checkout@v4
5050

@@ -65,7 +65,7 @@ jobs:
6565
run: bun run typecheck
6666

6767
test:
68-
runs-on: ["self-hosted", "linux", "x64", "ubuntu-2404", "aws"]
68+
runs-on: [self-hosted, linux, x64, ubuntu-2404, aws]
6969
steps:
7070
- uses: actions/checkout@v4
7171

.github/workflows/release-please.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919

2020
jobs:
2121
release-please:
22-
runs-on: ["self-hosted", "linux", "x64", "ubuntu-2404", "aws"]
22+
runs-on: [self-hosted, linux, x64, ubuntu-2404, aws]
2323
outputs:
2424
releases_created: ${{ steps.release.outputs.releases_created }}
2525
release_created: ${{ steps.release.outputs.release_created }}
@@ -41,7 +41,7 @@ jobs:
4141
publish:
4242
needs: release-please
4343
if: ${{ needs.release-please.outputs.release_created == 'true' }}
44-
runs-on: ["self-hosted", "linux", "x64", "ubuntu-2404", "aws"]
44+
runs-on: [self-hosted, linux, x64, ubuntu-2404, aws]
4545
permissions:
4646
contents: read
4747
id-token: write

CLAUDE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,19 +150,19 @@ ignore_patterns:
150150
# Formatter settings
151151
formatter:
152152
biome:
153-
command: ["biome", "format", "--write", "$FILE"]
154-
extensions: [".ts", ".tsx", ".js", ".jsx"]
153+
command: [biome, format, --write, $FILE]
154+
extensions: [.ts, .tsx, .js, .jsx]
155155
prettier:
156-
disabled: true # Disable a built-in formatter
156+
disabled: true # Disable a built-in formatter
157157

158158
# LSP settings
159159
lsp:
160160
typescript:
161161
enabled: true
162162
vue:
163-
enabled: false # Disable a specific LSP server
163+
enabled: false # Disable a specific LSP server
164164
pyright:
165-
root: "./backend" # Custom root path
165+
root: ./backend # Custom root path
166166
```
167167
168168
**Formatter Config:**

eslint.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ export default antfu({
1212
'specs/**',
1313
'docs/**',
1414
],
15+
}, {
16+
rules: {
17+
'no-console': 'off',
18+
},
1519
})

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
"publish:npm": "bun run build:npm && for dir in npm/code-*; do (cd \"$dir\" && bun publish --access public --tolerate-republish); done && cd npm/code && bun publish --access public --tolerate-republish",
2323
"prepare": "husky"
2424
},
25-
"lint-staged": {
26-
"*.{ts,tsx,js,jsx,mjs,cjs}": "eslint --fix"
27-
},
2825
"dependencies": {
2926
"@modelcontextprotocol/sdk": "^1.12.0",
3027
"vscode-jsonrpc": "^8.2.1",
@@ -40,5 +37,8 @@
4037
"lint-staged": "^16.2.7",
4138
"turbo": "^2.6.3",
4239
"typescript": "^5.7.0"
40+
},
41+
"lint-staged": {
42+
"*.{ts,tsx,js,jsx,mjs,cjs}": "eslint --fix"
4343
}
4444
}

packages/lsp/CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ lsp:
159159

160160
# Use custom root path
161161
pyright:
162-
root: "./backend"
162+
root: ./backend
163163

164164
# Globally disable all LSP servers
165165
# lsp: false
@@ -172,7 +172,7 @@ lsp:
172172

173173
**Config Utilities:**
174174
```typescript
175-
import { isServerEnabled, getServerRoot, loadLspConfig } from '@pleaseai/code-lsp'
175+
import { getServerRoot, isServerEnabled, loadLspConfig } from '@pleaseai/code-lsp'
176176

177177
const config = await loadLspConfig(projectDir)
178178
const enabled = isServerEnabled(config, 'typescript')

0 commit comments

Comments
 (0)