mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-08 08:52:12 +00:00
31 lines
725 B
JavaScript
31 lines
725 B
JavaScript
import js from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
import reactHooks from "eslint-plugin-react-hooks";
|
|
|
|
export default tseslint.config(
|
|
{
|
|
ignores: [
|
|
"dist",
|
|
"target",
|
|
"src-tauri",
|
|
"crates",
|
|
"src/bindings.ts",
|
|
"fixtures",
|
|
"plugins",
|
|
"test-results",
|
|
"playwright-report",
|
|
// Agent worktrees: whole checkouts of the repo.
|
|
".claude",
|
|
],
|
|
},
|
|
js.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
{
|
|
plugins: { "react-hooks": reactHooks },
|
|
rules: {
|
|
...reactHooks.configs.recommended.rules,
|
|
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }],
|
|
},
|
|
},
|
|
);
|