b7f52be4c9
CI / Run CI (push) Blocked by required conditions
Copilot Setup Steps / copilot-setup-steps (push) Waiting to run
CI / check-backend (push) Has started running
CI / check-frontend (push) Has started running
CI / tests (push) Has started running
CI / e2e-tests (push) Has started running
28 lines
948 B
JavaScript
28 lines
948 B
JavaScript
module.exports = {
|
|
// Prettier: globs only — skip nested `.(cursor|claude)/**` and symlink names (see `.shared/`).
|
|
'!(.(cursor|claude))/**': ['pnpm format:files'],
|
|
'.(cursor|claude)/!(agents|commands|rules|skills)': ['pnpm format:files'],
|
|
|
|
'**/*.{ts,tsx,js,cjs,mjs}': ['pnpm lint:fix'],
|
|
|
|
'frontend/**/*.{ts,tsx}': [() => 'pnpm --filter @chainlit/app type-check'],
|
|
|
|
'libs/react-client/**/*.{ts,tsx}': [
|
|
() => 'pnpm --filter @chainlit/react-client type-check'
|
|
],
|
|
|
|
// TODO: Re-enable copilot type-check after fixing cross-project path alias mismatch.
|
|
// See docs/research/copilot-type-checking.md for analysis and proposed solutions.
|
|
// 'libs/copilot/**/*.{ts,tsx}': [
|
|
// () => 'pnpm --filter @chainlit/copilot type-check'
|
|
// ],
|
|
|
|
'backend/**/*.py': [
|
|
'uv run scripts/lint.py --fix',
|
|
'uv run scripts/format.py',
|
|
() => 'uv run scripts/type_check.py'
|
|
],
|
|
|
|
'.github/workflows/**': ['uv run actionlint']
|
|
};
|