Skip to content

Commit 3b8042f

Browse files
committed
chore: update dependencies and devDependencies in package.json
- Upgraded chokidar to ^5.0.0 - Upgraded ignore to ^7.0.5 - Upgraded p-queue to ^9.1.0 - Upgraded p-retry to ^7.1.1 - Upgraded zod to ^4.3.5 - Upgraded @napi-rs/cli to ^3.5.1 - Upgraded @opencode-ai/plugin to ^1.1.20 - Upgraded @types/node to ^25.0.8 - Added typescript-eslint to devDependencies - Upgraded vitest to ^4.0.17 fix: improve error handling in various files - Added comments to ignore errors when reading auth file, writing token cache, and loading plugin config. - Simplified loop in indexer to avoid unused variable. - Improved error message logging in indexer. feat: add ESLint configuration - Created eslint.config.js with recommended settings and custom rules.
1 parent eafa543 commit 3b8042f

File tree

10 files changed

+3449
-2148
lines changed

10 files changed

+3449
-2148
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
cache: 'npm'
3434

3535
- name: Setup Rust
36-
uses: dtolnay/rust-action@stable
36+
uses: dtolnay/rust-toolchain@stable
3737
with:
3838
targets: ${{ matrix.target }}
3939

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
cache: 'npm'
2020

2121
- name: Setup Rust
22-
uses: dtolnay/rust-action@stable
22+
uses: dtolnay/rust-toolchain@stable
2323

2424
- name: Install dependencies
2525
run: npm ci

eslint.config.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import js from "@eslint/js";
2+
import tseslint from "typescript-eslint";
3+
4+
export default tseslint.config(
5+
js.configs.recommended,
6+
...tseslint.configs.recommended,
7+
{
8+
ignores: ["dist/", "native/", "node_modules/"],
9+
},
10+
{
11+
files: ["src/**/*.ts"],
12+
rules: {
13+
"@typescript-eslint/no-explicit-any": "off",
14+
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
15+
},
16+
}
17+
);

0 commit comments

Comments
 (0)