mirror of
https://github.com/agentclientprotocol/claude-agent-acp.git
synced 2026-10-27 04:30:59 +00:00
Fixes basic issues. For now, we're still allowing `any`, but it'd be nice to move away from it.
34 lines
858 B
JSON
34 lines
858 B
JSON
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020,
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"plugins": ["@typescript-eslint"],
|
|
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
|
|
"env": {
|
|
"node": true,
|
|
"es2020": true
|
|
},
|
|
"rules": {
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{
|
|
"argsIgnorePattern": "^_"
|
|
}
|
|
],
|
|
"no-console": "off",
|
|
"no-constant-condition": "off",
|
|
"default-case": "error",
|
|
"prefer-const": "error",
|
|
"no-var": "error",
|
|
"eqeqeq": ["error", "always"],
|
|
"curly": ["error", "all"]
|
|
},
|
|
"ignorePatterns": ["dist", "node_modules", "*.js"]
|
|
}
|