mirror of
https://ghfast.top/https://github.com/discourse/discourse-mcp.git
synced 2026-07-15 11:36:36 +08:00
* FEATURE: add support for topic editing - supports tagging/categorising/changing title on an existing topic - added linting * version bump * avoid uses of any where possible no new features just consistency / maintainability * - simpler agents md - improved docs - better parsing for auth pairs - clear write access checks - better testing of tool lists
21 lines
588 B
JavaScript
21 lines
588 B
JavaScript
import eslint from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
export default tseslint.config(
|
|
eslint.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
{
|
|
ignores: ["dist/**", "node_modules/**", "scripts/**"],
|
|
},
|
|
{
|
|
rules: {
|
|
// Allow unused vars prefixed with underscore
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
|
|
],
|
|
// Allow explicit any in tool handlers where Discourse API responses vary
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
},
|
|
}
|
|
);
|