-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix React Hooks ESLint warnings in Filters and AnnouncementHero components #5126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,7 +12,7 @@ | |||||
| "$ref": "#/definitions/specificationExtension" | ||||||
| } | ||||||
| }, | ||||||
| "properties": { | ||||||
| "properties": { #there the properties change i create | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove inline comment to keep JSON valid.
🔧 Proposed fix- "properties": { `#there` the properties change i create
+ "properties": {📝 Committable suggestion
Suggested change
🧰 Tools🪛 Biome (2.3.13)[error] 15-15: unexpected character (parse) 🤖 Prompt for AI Agents |
||||||
| "asyncapi": { | ||||||
| "type": "string", | ||||||
| "const": "3.0.0", | ||||||
|
|
@@ -8968,4 +8968,4 @@ | |||||
| } | ||||||
| }, | ||||||
| "description": "!!Auto generated!! \n Do not manually edit. " | ||||||
| } | ||||||
| } | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is failing: formatting does not match project Prettier/ESLint config.
The pipeline reports 20+ errors across this file. Two recurring categories:
'text-white'not"text-white").Please run
npx prettier --write components/campaigns/AnnouncementHero.tsx(or the project's configured formatter) and re-commit to fix all formatting violations in one pass.Also applies to: 34-36, 40-42, 50-53, 65-66, 73-73, 76-77, 101-101, 119-119
🧰 Tools
🪛 GitHub Actions: PR testing - if Node project
[error] 21-21: prettier/prettier: Replace
⏎··className·=·'',⏎··small·=·false,⏎with·className·=·'',·small·=·false·[error] 23-23: prettier/prettier: Unexpected trailing comma. comma-dangle
[error] 27-27: prettier/prettier: Replace
⏎····()·=>·banners.filter((banner)·=>·shouldShowBanner(banner.cfpDeadline)),⏎····[],⏎··with()·=>·banners.filter((banner)·=>·shouldShowBanner(banner.cfpDeadline)),·[][error] 29-29: prettier/prettier: Unexpected trailing comma. comma-dangle
🤖 Prompt for AI Agents