- Add Prettier with .prettierrc.json and format all source files - Add ESLint v9 flat config with @eslint/js + typescript-eslint - Add dpdm for circular dependency checking - Add lint-staged (runs eslint + prettier on staged files) - Add commitlint with conventional commits config - Add husky pre-commit (lint-staged) and commit-msg (commitlint) hooks - Bump TypeScript to ^6.0.2 in both packages - Fix tsconnect moduleResolution: node → bundler (node10 deprecated in TS 6) - Remove unused IPNConfig import and stale eslint-disable in ipn.ts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
418 B
JavaScript
17 lines
418 B
JavaScript
import js from "@eslint/js"
|
|
import tseslint from "typescript-eslint"
|
|
|
|
export default tseslint.config(
|
|
{
|
|
ignores: ["**/node_modules/**", "**/dist/**", "**/out/**", "tailscale/**"],
|
|
},
|
|
js.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
{
|
|
rules: {
|
|
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
},
|
|
},
|
|
)
|