AI skill for generating linter configs and repairing code


Lately AI is being used more and more to generate code, but keeping the code quality in check is still really important. Most projects or companies have coding standards, and linters can enforce them—but automatically generating the correct linter configuration is tricky.

When AI tries to generate linter configs, it can hallucinate: misinterpreting coding standards and producing incorrect or incomplete configs.

Therefore, I develop an AI skill LintConfig to automatically configure linters according to users’ coding standards, run lint checks, and repair any coding violations. One figure example:
https://github.com/idiomaticrefactoring/LintConfig/blob/master/fig/example3.png

I’d love to hear what you think! If anyone’s interested, you can try it out, give feedback. Welcome contributions or suggestions for improvements. The github url is https://github.com/idiomaticrefactoring/LintConfig



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *