Skip to content

Commit 62b1917

Browse files
committed
Fix IDE linting inconsistencies
1 parent 0f7fee9 commit 62b1917

File tree

9 files changed

+269
-8
lines changed

9 files changed

+269
-8
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ src/core/generated-resources.ts
1616

1717
# IDE and editor files
1818
.idea/
19-
.vscode/
2019
.vscode/*
2120
!.vscode/mcp.json
2221
!.vscode/launch.json
22+
!.vscode/settings.json
23+
!.vscode/tasks.json
24+
!.vscode/extensions.json
2325
*.swp
2426
*.swo
2527
.DS_Store
@@ -102,4 +104,3 @@ buildServer.json
102104
# Bundled AXe artifacts (generated during build)
103105
bundled/
104106

105-
/.vscode/mcp.json

.vscode/extensions.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"recommendations": [
3+
"dbaeumer.vscode-eslint"
4+
],
5+
"unwantedRecommendations": [
6+
"esbenp.prettier-vscode"
7+
]
8+
}
9+
10+
11+

.vscode/mcp.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"servers": {
3+
"XcodeBuildMCP": {
4+
"type": "stdio",
5+
"command": "npx",
6+
"args": [
7+
"-y",
8+
"xcodebuildmcp@latest"
9+
],
10+
"env": {
11+
"XCODEBUILDMCP_DEBUG": "true",
12+
"XCODEBUILDMCP_DYNAMIC_TOOLS": "true",
13+
"INCREMENTAL_BUILDS_ENABLED": "false",
14+
"XCODEBUILDMCP_IOS_TEMPLATE_PATH": "/Volumes/Developer/XcodeBuildMCP-iOS-Template",
15+
"XCODEBUILDMCP_MACOS_TEMPLATE_PATH": "/Volumes/Developer/XcodeBuildMCP-macOS-Template"
16+
}
17+
},
18+
"XcodeBuildMCP-Dev": {
19+
"type": "stdio",
20+
"command": "node",
21+
"args": [
22+
"--inspect-brk=9999",
23+
"--trace-warnings",
24+
"/Users/cameroncooke/Developer/XcodeBuildMCP/build/index.js"
25+
],
26+
"env": {
27+
"XCODEBUILDMCP_DEBUG": "true",
28+
"XCODEBUILDMCP_DYNAMIC_TOOLS": "true",
29+
"INCREMENTAL_BUILDS_ENABLED": "false",
30+
"XCODEBUILDMCP_IOS_TEMPLATE_PATH": "/Volumes/Developer/XcodeBuildMCP-iOS-Template",
31+
"XCODEBUILDMCP_MACOS_TEMPLATE_PATH": "/Volumes/Developer/XcodeBuildMCP-macOS-Template"
32+
}
33+
},
34+
}
35+
}

.vscode/settings.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"eslint.useFlatConfig": true,
3+
"eslint.validate": [
4+
"javascript",
5+
"typescript"
6+
],
7+
"eslint.runtime": "/opt/homebrew/bin/node",
8+
"eslint.format.enable": true,
9+
"eslint.nodePath": "${workspaceFolder}/node_modules",
10+
"eslint.workingDirectories": [
11+
{
12+
"directory": "${workspaceFolder}",
13+
"changeProcessCWD": true
14+
}
15+
],
16+
"typescript.tsdk": "node_modules/typescript/lib",
17+
"typescript.enablePromptUseWorkspaceTsdk": true,
18+
"typescript.tsserver.maxTsServerMemory": 4096,
19+
"javascript.validate.enable": false,
20+
"typescript.validate.enable": false,
21+
"editor.codeActionsOnSave": {
22+
"source.fixAll.eslint": "explicit"
23+
},
24+
"editor.defaultFormatter": "vscode.typescript-language-features",
25+
"[typescript]": {
26+
"editor.defaultFormatter": "vscode.typescript-language-features"
27+
},
28+
"[javascript]": {
29+
"editor.defaultFormatter": "vscode.typescript-language-features"
30+
},
31+
"terminal.integrated.shellIntegration.decorationsEnabled": "never",
32+
"vitest.nodeExecutable": "/opt/homebrew/bin/node",
33+
"[json]": {
34+
"editor.defaultFormatter": "vscode.json-language-features"
35+
},
36+
"[jsonc]": {
37+
"editor.defaultFormatter": "vscode.json-language-features"
38+
},
39+
}

.vscode/tasks.json

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/microsoft/vscode/master/extensions/npm/schemas/v1.1.1/tasks.schema.json",
3+
"version": "2.0.0",
4+
"tasks": [
5+
{
6+
"label": "build",
7+
"type": "npm",
8+
"script": "build",
9+
"group": {
10+
"kind": "build",
11+
"isDefault": true
12+
},
13+
"presentation": {
14+
"echo": true,
15+
"reveal": "always",
16+
"focus": false,
17+
"panel": "shared",
18+
"showReuseMessage": true,
19+
"clear": false
20+
},
21+
"problemMatcher": [
22+
"$tsc"
23+
]
24+
},
25+
{
26+
"label": "run",
27+
"type": "npm",
28+
"script": "inspect",
29+
"group": "build",
30+
"presentation": {
31+
"echo": true,
32+
"reveal": "always",
33+
"focus": true,
34+
"panel": "new"
35+
}
36+
},
37+
{
38+
"label": "test",
39+
"type": "npm",
40+
"script": "test",
41+
"group": {
42+
"kind": "test",
43+
"isDefault": true
44+
},
45+
"presentation": {
46+
"echo": true,
47+
"reveal": "always",
48+
"focus": false,
49+
"panel": "shared"
50+
}
51+
},
52+
{
53+
"label": "lint",
54+
"type": "npm",
55+
"script": "lint",
56+
"group": "build",
57+
"presentation": {
58+
"echo": true,
59+
"reveal": "silent",
60+
"focus": false,
61+
"panel": "shared"
62+
},
63+
"problemMatcher": [
64+
"$eslint-stylish"
65+
]
66+
},
67+
{
68+
"label": "lint:fix",
69+
"type": "npm",
70+
"script": "lint:fix",
71+
"group": "build"
72+
},
73+
{
74+
"label": "format",
75+
"type": "npm",
76+
"script": "format",
77+
"group": "build"
78+
},
79+
{
80+
"label": "typecheck (watch)",
81+
"type": "shell",
82+
"command": "npx tsc --noEmit --watch",
83+
"isBackground": true,
84+
"problemMatcher": [
85+
"$tsc-watch"
86+
],
87+
"group": "build"
88+
},
89+
{
90+
"label": "dev (watch)",
91+
"type": "npm",
92+
"script": "dev",
93+
"isBackground": true,
94+
"group": "build",
95+
"presentation": {
96+
"panel": "dedicated",
97+
"reveal": "always"
98+
}
99+
},
100+
{
101+
"label": "build: dev diagnostics",
102+
"dependsOn": [
103+
"lint",
104+
"typecheck (watch)"
105+
],
106+
"group": {
107+
"kind": "build",
108+
"isDefault": false
109+
}
110+
}
111+
]
112+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"configurations": [
3+
{
4+
"type": "swift",
5+
"request": "launch",
6+
"args": [],
7+
"cwd": "${workspaceFolder:example_projects}/spm",
8+
"name": "Debug spm (spm)",
9+
"program": "${workspaceFolder:example_projects}/spm/.build/debug/spm",
10+
"preLaunchTask": "swift: Build Debug spm (spm)"
11+
},
12+
{
13+
"type": "swift",
14+
"request": "launch",
15+
"args": [],
16+
"cwd": "${workspaceFolder:example_projects}/spm",
17+
"name": "Release spm (spm)",
18+
"program": "${workspaceFolder:example_projects}/spm/.build/release/spm",
19+
"preLaunchTask": "swift: Build Release spm (spm)"
20+
},
21+
{
22+
"type": "swift",
23+
"request": "launch",
24+
"args": [],
25+
"cwd": "${workspaceFolder:example_projects}/spm",
26+
"name": "Debug quick-task (spm)",
27+
"program": "${workspaceFolder:example_projects}/spm/.build/debug/quick-task",
28+
"preLaunchTask": "swift: Build Debug quick-task (spm)"
29+
},
30+
{
31+
"type": "swift",
32+
"request": "launch",
33+
"args": [],
34+
"cwd": "${workspaceFolder:example_projects}/spm",
35+
"name": "Release quick-task (spm)",
36+
"program": "${workspaceFolder:example_projects}/spm/.build/release/quick-task",
37+
"preLaunchTask": "swift: Build Release quick-task (spm)"
38+
},
39+
{
40+
"type": "swift",
41+
"request": "launch",
42+
"args": [],
43+
"cwd": "${workspaceFolder:example_projects}/spm",
44+
"name": "Debug long-server (spm)",
45+
"program": "${workspaceFolder:example_projects}/spm/.build/debug/long-server",
46+
"preLaunchTask": "swift: Build Debug long-server (spm)"
47+
},
48+
{
49+
"type": "swift",
50+
"request": "launch",
51+
"args": [],
52+
"cwd": "${workspaceFolder:example_projects}/spm",
53+
"name": "Release long-server (spm)",
54+
"program": "${workspaceFolder:example_projects}/spm/.build/release/long-server",
55+
"preLaunchTask": "swift: Build Release long-server (spm)"
56+
}
57+
]
58+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@
2727
"test": "vitest run",
2828
"test:watch": "vitest",
2929
"test:ui": "vitest --ui",
30-
"test:coverage": "vitest run --coverage",
31-
"check-migration": "node scripts/check-type-safety-migration.js --summary",
32-
"check-migration:verbose": "node scripts/check-type-safety-migration.js --verbose",
33-
"check-migration:unfixed": "node scripts/check-type-safety-migration.js --unfixed-only --verbose"
30+
"test:coverage": "vitest run --coverage"
3431
},
3532
"files": [
3633
"build",
@@ -85,4 +82,4 @@
8582
"vitest": "^3.2.4",
8683
"xcode": "^3.0.1"
8784
}
88-
}
85+
}

tsconfig.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,12 @@
2020
"noEmit": true
2121
},
2222
"include": ["src/**/*"],
23-
"exclude": ["node_modules", "**/*.test.ts", "tests-vitest/**/*", "plugins/**/*"]
23+
"exclude": [
24+
"node_modules",
25+
"**/*.test.ts",
26+
"tests-vitest/**/*",
27+
"plugins/**/*",
28+
"src/core/generated-plugins.ts",
29+
"src/core/generated-resources.ts"
30+
]
2431
}

0 commit comments

Comments
 (0)