Ensure code quality / formatting on write #112
Labels
enhancement
New feature or request
hacktoberfest
Good ticket to tackle as part of Hacktoberfest
help wanted
Extra attention is needed
We have noticed Goose having issues with whitespacing/formatting with Python, and also producing errors with JS. It seems like this rarely happens the first time you ask it to do something, but if you ask it to repeatedly edit a file, it seems like it inevitably runs into issues. Not sure if anyone else has run into this. Could be an issue with how it sends data to be reprocessed after an initial request (just spitballing).
Potential approach: pair it with a linter/formatter (like black) and prompt with something like "the task is not successful until it passes this linter"
The text was updated successfully, but these errors were encountered: