This is so slick
This is so slick. It used to be tricky to create an ESLint rule. Now I just tell Claude.
Example: We want to assure all SQL queries are multi-line (to avoid merge conflicts).
This rule reports anything that looks like a SQL query that isn't decorated with a SQL comment. The SQL comment triggers Prettier formatting via prettier-plugin-sql.
Result: If I forget to decorate a SQL statement, linting autofixes it and Prettier auto-formats. Slick.
