awesome-codemods
Curated list of tools that can fix your code for you
https://github.com/jelmer/awesome-codemods
Last synced: 13 days ago
JSON representation
-
By Environment
-
C/C++
- **uncrustify** - Code formatting along flexible rules
-
Debian
- **cme** - Fix various common issues in Debian packages
- **apply-multiarch-hints** - Apply multi-arch fixes from https://multiarch.debian.net/
- **deb-new-upstream** - Import new upstream releases or snapshots
- **drop-mia-uploaders** - Remove Missing-In-Action uploaders from Maintainer/Uploader fields
- **cme** - Fix various common issues in Debian packages
-
General
- codespell - check code for common misspellings
-
Go
- **golangci-lint** - linter that can also fix (some of the) issues it reports
-
JavaScript/TypeScript
- **jscodeshift** - toolkit for running codemods over multiple JavaScript or TypeScript files
- **ts-morph** - TypeScript Compiler API wrapper for programmatic code changes
- **react-codemod** - codemod scripts to update React APIs
- **next-codemod** - codemod transformations for upgrading Next.js codebases
- **ember-codemods** - collection of codemods for Ember.js
- **vue-codemods** - codemod scripts to update and refactor Vue files
- **angular-codemods** - codemods for refactoring Angular applications
- **@mui/codemod** - codemods for upgrading Material UI versions
- **eslint-transforms** - codemods for the ESLint ecosystem
- **jest-codemods** - codemods for migrating test frameworks to Jest
- **5to6-codemod** - transform ES5 code to ES6
- **lebab** - transform ES5 code to modern JavaScript
- **js-codemod** - codemod scripts to transform code to next generation JS
-
PHP
- **PHP-Codeshift** - toolkit for running codemods over multiple PHP files
- **rector** - automated refactoring and upgrading of PHP code
-
Python
- **yesqa** - Remove unnecessary ``#noqa`` comments
- **pyupgrade** - upgrade syntax for newer versions of the language
- **teyit** - use recommended style for assert statements
- **setup-py-upgrade** - upgrade setup.py to new metadata syntax
- **modernize** - modernize Python code for eventual Python 3 migration
- **autoflake** - remove unused imports and unused variables
- **ruff** - ultra-fast linter that can also fix (some of the) issues it reports
- **reorder_python_imports** - automatically reorder imports
- **django-codemod** - automatically fix Django deprecations
-
Ruby
- **RuboCop** - static code analyzer and formatter that can automatically fix many issues
- **codeshift** - jscodeshift equivalent for Ruby
-
Rust
- **clippy** - linter that can also fix (some of the) issues it reports
-
-
Commercial Platforms
-
Debian
-
-
Fix aggregators
-
Debian
- **routine-update** - run various codemods for Debian packages
- **nitpick** - Apply the same pre-defined settings across all your projects
- **mrm** - codemods for project config files
-
-
Libraries/Tools for refactoring
-
Debian
- **clang-libastmatcher** - CLang AST Matchers
- **Bowler** - modern Python (deprecated, recommends libcst)
- **libcst** - Python
- **rerast** - transform Rust code using rules
- **refex** - refactor expressions in Python
- **asttokens** - token-preserving AST library for Python
- **pasta** - code rewriting for Python using AST mutation instead of string templates
- **putout** - pluggable JavaScript/TypeScript code transformer
- **riceburn** - TypeScript, JSON, and text file codemod utility
-
-
Meta
-
Debian
- awesome code formatters
- awesome AST
- awesome jscodeshift
- awesome codemods - JS/framework-focused list
-
-
Tools for invoking codemods
-
Debian
- **silver-platter** - Run codemods against remote repositories and publish changes (creating PRs/pushing)
- **all-repos** - Run codemods across a set of local repositories
- **CodeshiftCommunity** - Community-owned global registry for codemods
-
Programming Languages
Categories
Sub Categories
Keywords
codemod
8
linter
6
python
5
codemods
4
ast
3
static-code-analysis
3
javascript
3
refactoring
2
flake8
2
php
2
styleguide
2
git
2
formatter
2
pre-commit
2
transform
2
static-analysis
2
bzr
2
python3
2
parser
2
rust
2
style-guide
1
rustpython
1
lint
1
beautifier
1
beautify
1
code-style
1
format
1
babel
1
babel-plugin
1
codeshift
1
eslint
1
eslint-plugin
1
code-formatter
1
rubocop
1
ruby
1
cli
1
config
1
dotfiles
1
opensource
1
scaffold
1
template
1
compiler
1
es2015
1
es6
1
lebab
1
automated-upgrades
1
instant-upgrades
1
rector
1
upgrade
1
pep8
1