Skip to content

Commit a92193d

Browse files
committed
style(docs): fix linting issues in markdown content
- Fix YAML formatting in code examples - Use single quotes for scoped npm packages in YAML
1 parent 1ac6780 commit a92193d

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

apps/docs/content/docs/3.configuration/2.formatter-config.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ Each formatter can have these options:
1414
```yaml
1515
formatter:
1616
<formatter-name>:
17-
disabled: false # Disable this formatter
18-
command: [cmd, args...] # Custom command ($FILE placeholder)
19-
extensions: [.ts, .js] # File extensions
20-
environment: # Environment variables
17+
disabled: false # Disable this formatter
18+
command: [cmd, args...] # Custom command ($FILE placeholder)
19+
extensions: [.ts, .js] # File extensions
20+
environment: # Environment variables
2121
KEY: value
2222
```
2323
@@ -109,7 +109,7 @@ Override command or extensions for built-in formatters:
109109
```yaml
110110
formatter:
111111
biome:
112-
command: [bunx, @biomejs/biome, format, --write, $FILE]
112+
command: [bunx, '@biomejs/biome', format, --write, $FILE]
113113
extensions: [.ts, .tsx, .js, .jsx, .json, .jsonc]
114114
```
115115

apps/docs/content/docs/3.configuration/3.lsp-config.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Each LSP server can have these options:
1414
```yaml
1515
lsp:
1616
<server-name>:
17-
enabled: true # Enable/disable this server
18-
root: ./backend # Custom project root
17+
enabled: true # Enable/disable this server
18+
root: ./backend # Custom project root
1919
command: [cmd, args...] # Custom spawn command
2020
```
2121
@@ -44,7 +44,7 @@ lsp:
4444
lsp:
4545
pyright:
4646
enabled: true
47-
root: ./backend # If Python code is in subdirectory
47+
root: ./backend # If Python code is in subdirectory
4848
```
4949
5050
### Go

apps/docs/content/docs/4.reference/3.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ await manager.dispose()
9090
Access available servers.
9191

9292
```typescript
93-
import { LSP_SERVERS, getServerById, getServersForExtension } from '@pleaseai/code-lsp'
93+
import { getServerById, getServersForExtension, LSP_SERVERS } from '@pleaseai/code-lsp'
9494

9595
// Get all servers
9696
console.log(LSP_SERVERS)

0 commit comments

Comments
 (0)