Facebook Engineering Blog
Fixit 2: Meta’s next-generation auto-fixing linter

Fixit 2: Meta’s next-generation auto-fixing linter

8/7/2023 · Amethyst Reese

What this post added

Introduces Fixit 2, a next-generation auto-fixing linter for Python, built on LibCST. Fixit 2 supports custom, in-repo lint rules and hierarchical configuration, addressing limitations of previous tools like Flake8. It enables developers to efficiently build lint rules and perform auto-fixes, improving code quality and developer productivity. The post details the architecture, rule writing, auto-fix suggestion mechanism, and usage examples.

Read the original post ↗