- pgSchema "mesh" with 4 tables isolating the peer mesh domain - Enums: visibility, transport, tier, role - audit_log is metadata-only (E2E encryption enforced at broker/client) - Cascade on mesh delete, soft-delete via archivedAt/revokedAt Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
26 lines
652 B
JavaScript
26 lines
652 B
JavaScript
import reactPlugin from "eslint-plugin-react";
|
|
import hooksPlugin from "eslint-plugin-react-hooks";
|
|
import queryPlugin from "@tanstack/eslint-plugin-query";
|
|
|
|
/** @type {Awaited<import('typescript-eslint').Config>} */
|
|
export default [
|
|
{
|
|
files: ["**/*.ts", "**/*.tsx"],
|
|
plugins: {
|
|
react: reactPlugin,
|
|
"react-hooks": hooksPlugin,
|
|
"@tanstack/query": queryPlugin,
|
|
},
|
|
rules: {
|
|
...reactPlugin.configs["jsx-runtime"].rules,
|
|
...hooksPlugin.configs.recommended.rules,
|
|
...queryPlugin.configs.recommended.rules,
|
|
},
|
|
languageOptions: {
|
|
globals: {
|
|
React: "writable",
|
|
},
|
|
},
|
|
},
|
|
];
|