Skip to content

fix invalid yaml in rules globs #1833

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

Closed
wants to merge 1 commit into from
Closed
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
2 changes: 1 addition & 1 deletion .cursor/rules/writing-tasks.mdc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
globs: **/trigger/**/*.ts, **/trigger/**/*.tsx,**/trigger/**/*.js,**/trigger/**/*.jsx
globs: [ '**/trigger/**/*.ts', '**/trigger/**/*.tsx', '**/trigger/**/*.js', '**/trigger/**/*.jsx' ]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Convert globs to a Valid YAML Array

The updated globs property now uses a YAML array of strings instead of a comma-separated string, which resolves the invalid YAML issue and improves readability. Ensure that any tools or scripts parsing this configuration are updated to work with the array format.

description: Guidelines for writing Trigger.dev tasks
alwaysApply: false
---
Expand Down