Skip to content

Commit 9546d77

Browse files
konardclaude
andcommitted
fix(deps): keep vibecode-linter, replace only eslint-plugin
- Restore @ton-ai-core/vibecode-linter in devDependencies and scripts - Keep @prover-coder-ai/eslint-plugin-suggest-members for SMB rules - Restore CI workarounds for vibecode-linter (global TypeScript and Biome) - Verified linting works correctly with hybrid approach INVARIANT: ∀ lint_rule ∈ SMB_Rules: enforced(lint_rule, @prover-coder-ai/suggest-members) INVARIANT: lint_tool = @ton-ai-core/vibecode-linter POSTCONDITION: linter.config.json references @prover-coder-ai/suggest-members rules POSTCONDITION: eslint.config.mts imports from @prover-coder-ai/eslint-plugin-suggest-members Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 858621b commit 9546d77

3 files changed

Lines changed: 68 additions & 4 deletions

File tree

.github/workflows/check.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ jobs:
4141
- uses: actions/checkout@v4
4242
- name: Install dependencies
4343
uses: ./.github/actions/setup
44+
# vibecode-linter uses npx internally for dependency checks
45+
# In pnpm workspaces, npx doesn't find local packages correctly
46+
# Install TypeScript and Biome globally as a workaround
47+
# See: https://github.com/ton-ai-core/vibecode-linter/issues (pending issue)
48+
- name: Install global linter dependencies
49+
run: npm install -g typescript @biomejs/biome
4450
- run: pnpm lint
4551

4652
test:
@@ -51,4 +57,7 @@ jobs:
5157
- uses: actions/checkout@v4
5258
- name: Install dependencies
5359
uses: ./.github/actions/setup
60+
# vibecode-linter uses npx internally for dependency checks (lint:tests runs first)
61+
- name: Install global linter dependencies
62+
run: npm install -g typescript @biomejs/biome
5463
- run: pnpm test

packages/app/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"scripts": {
1010
"build": "vite build --ssr src/app/main.ts",
1111
"dev": "vite build --watch --ssr src/app/main.ts",
12-
"lint": "eslint src/",
13-
"lint:tests": "eslint tests/",
12+
"lint": "npx @ton-ai-core/vibecode-linter src/",
13+
"lint:tests": "npx @ton-ai-core/vibecode-linter tests/",
1414
"check": "pnpm run typecheck",
1515
"prestart": "pnpm run build",
1616
"start": "node dist/main.js",
@@ -61,6 +61,7 @@
6161
"@eslint/eslintrc": "3.3.3",
6262
"@eslint/js": "9.39.1",
6363
"@prover-coder-ai/eslint-plugin-suggest-members": "^0.0.3",
64+
"@ton-ai-core/vibecode-linter": "^1.0.6",
6465
"@types/node": "^24.10.1",
6566
"@typescript-eslint/eslint-plugin": "^8.48.1",
6667
"@typescript-eslint/parser": "^8.48.1",

pnpm-lock.yaml

Lines changed: 56 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)