Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ concurrency:
jobs:
dependency-review:
runs-on: ubuntu-latest
# Dependabot PRs run with a restricted token that can't reach the
# dependency-review API, so the check always fails for them. Skip it for
# Dependabot (its bumps are curated) while keeping it for human PRs.
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Checkout repository
uses: actions/checkout@v6
Expand Down
5 changes: 5 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ export default tseslint.config(
'import/no-unresolved': 'error',
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
// react-hooks v7's recommended set promotes the React Compiler rule
// set-state-in-effect to an error. Two pre-existing effects (QuotePreview,
// QuoteViewport) trip it; keep it as a warning so it stays visible for a
// later refactor without blocking CI.
'react-hooks/set-state-in-effect': 'warn',
},
},
{
Expand Down
Loading
Loading