Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@
"@typescript-eslint/no-unused-vars": "off"
}
},
{
"files": [
"src/cli/commands/**/*.ts",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The glob src/cli/commands/**/*.ts is a bit too specific and misses other CLI files that use console.log for user output, such as src/cli/gemini-cli.ts. To ensure all TypeScript CLI files under the src/cli directory are covered, consider using the broader glob src/cli/**/*.ts. This will make the linting configuration more robust and prevent similar issues in the future.

Suggested change
"src/cli/commands/**/*.ts",
"src/cli/**/*.ts",

"src/services/extension-manager.ts",
"extensions/gemini-cli/extension-loader.js"
],
"rules": {
"no-console": "off"
}
},
{
"files": [
"src/integrations/mariner/**/*.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/gem-extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Command } from "commander";
import chalk from "chalk";
import ora from "ora";
import { Logger } from "../../utils/logger.js";
import { getExtensionManager, ExtensionMetadata } from "../../services/extension-manager.js";
import { getExtensionManager } from "../../services/extension-manager.js";

export class GemExtensionsCommand extends Command {
private logger: Logger;
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"extends": "./tsconfig.json",
"include": [
"src",
"tests"
"tests",
"extensions/gemini-cli/**/*.js"
],
"exclude": [
"node_modules",
Expand Down
Loading