43 lines
922 B
JSON
43 lines
922 B
JSON
{
|
|
"name": "code-formatter",
|
|
"version": "1.0.0",
|
|
"description": "Formats code files using prettier and eslint. Use when the user wants to format code, fix linting issues, or clean up code style.",
|
|
"contextFileName": "GEMINI.md",
|
|
"mcpServers": {
|
|
"formatter-tools": {
|
|
"command": "node",
|
|
"args": [
|
|
"${extensionPath}/mcp-server/index.js"
|
|
],
|
|
"env": {
|
|
"PRETTIER_CONFIG": "${PRETTIER_CONFIG}",
|
|
"ESLINT_CONFIG": "${ESLINT_CONFIG}"
|
|
}
|
|
}
|
|
},
|
|
"excludeTools": [
|
|
"Edit",
|
|
"Glob",
|
|
"Grep",
|
|
"Task",
|
|
"WebFetch",
|
|
"WebSearch",
|
|
"TodoWrite",
|
|
"AskUserQuestion",
|
|
"SlashCommand",
|
|
"Skill",
|
|
"NotebookEdit",
|
|
"BashOutput",
|
|
"KillShell"
|
|
],
|
|
"settings": [
|
|
{
|
|
"name": "PRETTIER_CONFIG",
|
|
"description": "Prettier Config"
|
|
},
|
|
{
|
|
"name": "ESLINT_CONFIG",
|
|
"description": "Eslint Config"
|
|
}
|
|
]
|
|
} |