discourse-mcp/eslint.config.js
Sam d2c737de9d
FEATURE: add support for topic editing (#37)
* 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
2026-01-20 18:13:10 +11:00

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",
},
}
);