mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-23 18:17:44 +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>
18 lines
397 B
JavaScript
18 lines
397 B
JavaScript
import reactConfig from "./react.js";
|
|
import nextPlugin from "@next/eslint-plugin-next";
|
|
|
|
/** @type {import("eslint").Linter.Config[]} */
|
|
export default [
|
|
...reactConfig,
|
|
{
|
|
files: ["**/*.{js,jsx,ts,tsx}"],
|
|
plugins: {
|
|
"@next/next": nextPlugin,
|
|
},
|
|
rules: {
|
|
...nextPlugin.configs.recommended.rules,
|
|
...nextPlugin.configs["core-web-vitals"].rules,
|
|
},
|
|
},
|
|
];
|