Skip to content

Commit b377251

Browse files
authored
adjust prettier to use more defaults (#8)
* simplify prettier to use more defaults * apply new prettier
1 parent 05df535 commit b377251

33 files changed

+12352
-12153
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
on:
2-
push:
3-
branches:
4-
- main
5-
pull_request:
2+
push:
3+
branches:
4+
- main
5+
pull_request:
66

77
permissions:
8-
contents: read
8+
contents: read
99

1010
concurrency:
11-
group: ${{ github.workflow }}-${{ github.ref }}
12-
cancel-in-progress: true
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
1313

1414
jobs:
15-
test:
16-
runs-on: ubuntu-latest
15+
test:
16+
runs-on: ubuntu-latest
1717

18-
steps:
19-
- uses: actions/checkout@v4
20-
- uses: actions/setup-node@v4
21-
with:
22-
node-version: 18
23-
cache: npm
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version: 18
23+
cache: npm
2424

25-
- run: npm ci
26-
- run: npm test
27-
- run: npm run lint
25+
- run: npm ci
26+
- run: npm test
27+
- run: npm run lint

.prettierrc.json

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
{
2-
"printWidth": 140,
3-
"tabWidth": 4,
4-
"useTabs": false,
5-
"semi": true,
6-
"singleQuote": true,
7-
"trailingComma": "none",
8-
"bracketSpacing": true,
9-
"bracketSameLine": false,
10-
"proseWrap": "always",
11-
"arrowParens": "avoid",
12-
"overrides": [
13-
{
14-
"files": "**/*.md",
15-
"options": {
16-
"printWidth": 280
17-
}
18-
}
19-
]
2+
"singleQuote": true,
3+
"trailingComma": "none",
4+
"overrides": [
5+
{
6+
"files": "**/*.md",
7+
"options": {
8+
"printWidth": 280
9+
}
10+
}
11+
]
2012
}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ Results are saved to `results/<scenario>-<timestamp>/`:
5656
## Available Scenarios
5757

5858
- **initialize** - Tests MCP client initialization handshake
59-
- Validates protocol version
60-
- Validates clientInfo (name and version)
61-
- Validates server response handling
59+
- Validates protocol version
60+
- Validates clientInfo (name and version)
61+
- Validates server response handling
6262

6363
## Architecture
6464

0 commit comments

Comments
 (0)