mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-22 17:49:48 +02:00
- Add @multica/eslint-config package (base, react, next configs) - Replace `next lint` (removed in Next.js 16) with `eslint .` - Add lint scripts to all packages and desktop app - Add noUnusedLocals, noUnusedParameters, noImplicitReturns to base tsconfig - Fix all resulting TS/ESLint errors (unused imports, missing returns, stale eslint-disable comments from legacy eslint-config-next) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
25 lines
564 B
JavaScript
25 lines
564 B
JavaScript
import eslint from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
/** @type {import("eslint").Linter.Config[]} */
|
|
export default [
|
|
eslint.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
{
|
|
rules: {
|
|
// Already enforced by TypeScript compiler (noUnusedLocals/noUnusedParameters)
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
// Allow explicit any where needed
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
},
|
|
},
|
|
{
|
|
ignores: [
|
|
"node_modules/",
|
|
"dist/",
|
|
".next/",
|
|
"out/",
|
|
],
|
|
},
|
|
];
|