@meb
Using AI for development; if there’s a better tool than AI, then use that especially as they are often 100% accuracy in their specific task.
Today I was studying cursorrules, which act as a system prompt to Cursor when it writes your code. I realised that alot of examples contain stylistic recommendations which can be solved by ESLint.
Here’s how I’d bootstrap a relevant cursor file.
Step 1: Use this tool to generate a .cursorrules file
cursorrules.agnt.one/chat
Step 2: Ask ChatGPT to parse the cursorrules, and output any relevant ESLint rules
Step 3: Configure ESLint and ensure your code editor applies autofixes on save
Step 4: rewrite your cursor rules file, excluding these ESLint-ified items to limit context issues