Cursor
ESLint Custom Rule Writer
Prompt
Act as a tooling engineer. Create a custom ESLint rule that enforces [pattern/convention] in our codebase. Include the rule implementation, unit tests using RuleTester, and documentation for team adoption.
How to use this prompt
Copy the prompt above using the copy button
Open Cursor and start a new conversation
Paste the prompt and replace [bracketed variables] with your specifics
Look for [placeholder] text in the prompt — replace these with your specific details for best results.
Related Topics
1,632 copies295 upvotes