Copy the founder's design handoff bundle (.proto/design/) into docs/product/reference/ byte-for-byte so dispatch agents running in git worktrees can read the HTML prototypes, veect-codebase/ prototype, upload PNGs, and remaining bundle files (ADR-029: reference only, never vendored into packages/). Ignore-list entries so whole-codebase auditors and formatters skip reference material: .prettierignore (byte preservation through lint-staged), .fallowrc.json ignorePatterns, root ESLint ignores, and the coverage:diff allowlist in scripts/coverage/diff.mjs (+ unit test). .DS_Store files skipped. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016j8z4VHjedXDTjEDNg7qHK
44 lines
1.1 KiB
JavaScript
44 lines
1.1 KiB
JavaScript
/**
|
|
* Root ESLint config — covers scripts/ and any other plain-JS files at the
|
|
* repo root. Package-level configs (packages/*, apps/*) define their own
|
|
* eslint.config.js and take precedence for files inside those directories.
|
|
*/
|
|
import js from "@eslint/js";
|
|
|
|
// Minimal Node.js globals for scripts — avoids a peer-dep on `globals`.
|
|
const nodeGlobals = {
|
|
process: "readonly",
|
|
console: "readonly",
|
|
URL: "readonly",
|
|
Buffer: "readonly",
|
|
__dirname: "readonly",
|
|
__filename: "readonly",
|
|
setTimeout: "readonly",
|
|
clearTimeout: "readonly",
|
|
setInterval: "readonly",
|
|
clearInterval: "readonly",
|
|
};
|
|
|
|
export default [
|
|
{
|
|
ignores: [
|
|
"node_modules/**",
|
|
"packages/**",
|
|
"apps/**",
|
|
"turbo/**",
|
|
"playwright.config.ts",
|
|
// Design reference material (ADR-029) — read-only prototypes, never linted
|
|
"docs/product/reference/**",
|
|
],
|
|
},
|
|
js.configs.recommended,
|
|
{
|
|
files: ["scripts/**/*.{mjs,cjs,js}"],
|
|
languageOptions: {
|
|
ecmaVersion: 2022,
|
|
sourceType: "module",
|
|
globals: nodeGlobals,
|
|
},
|
|
},
|
|
];
|