News for hackers. Stuff that matters.
Re:Posthog/.cursorrules by globular-toast on Sunday March 09, 2025 @06:11AM (#43307774)
To save others like me having to look this up, this is part of a prompt for an LLM. I assume it's prepended to the developer's "questions".

At first I thought this was directed at people. I really dislike that you can't tell it's not meant for people, unless you happen to know what "cursor rules" is.

My question is, why is this included as part of a code repo? Wouldn't this be like me including my Emacs config in every repo I touch?

Re:Posthog/.cursorrules by just-tom on Sunday March 09, 2025 @08:13AM (#43308418)
If your emacs config is (1) specific for each repo and (2) needs to be shared with other developers, it makes sense to add it to the repo.
Re:Posthog/.cursorrules by globular-toast on Monday March 10, 2025 @03:30PM (#43324891)
Why would you need to share this? Isn't it an individual developer's preferences?
Re:Posthog/.cursorrules by just-tom on Wednesday March 12, 2025 @01:23AM (#43340207)
If it is, there's no reason to share it. If there are some org wide prefs needed to be "enforced", then there is a reason.
Re:Posthog/.cursorrules by xmcqdpt2 on Sunday March 09, 2025 @08:06AM (#43308372)
I think it’s more like .editorconfig, included in the repo for consistency between contributors.

Also, it’s not uncommon to have IDE configs in large repos, in my experience in corpoland most developers don’t start with an already configured editor. They don’t care about Intellij vs VsCode, they just want to write PRs right now.