Go to Preview Lesson
Go to Preview Lesson
LESSON 5.1
How to Mutate an AST and Automatically Replace Code Components
LESSON 5.2
How to Create Codemods Using jscodeshift
Practical Abstract Syntax Trees
MODULE 1
Introduction
LESSON 1.1
Course overview
MODULE 2
Understanding Abstract Syntax Trees (AST)
LESSON 2.1
What is an Abstract Syntax Tree? Visualizing Code Like a Compiler
LESSON 2.2
How to View Abstract Syntax Tree Code With AST Explorer
LESSON 2.3
The Best JavaScript AST Tools - ESLint, Babel, Terser, and More
LESSON 2.4
Environment setup
MODULE 3
Working with Abstract Syntax Trees
LESSON 3.1
How to Generate a JavaScript AST With Babel Plugins
LESSON 3.2
Traversing an AST With Babel Traverse
LESSON 3.3
Add Type Safety and Prevent Runtime Errors With AST
MODULE 4
Code Audits
LESSON 4.1
Practical code audits
LESSON 4.2
How to Audit Your Code With AST Programming
LESSON 4.3
How to Add a Component and Update an AST
LESSON 4.4
When to Use Abstract Syntax Tree Tooling to Refactor at Scale
MODULE 5
Codemods
LESSON 5.1
How to Mutate an AST and Automatically Replace Code Components
LESSON 5.2
How to Create Codemods Using jscodeshift
LESSON 5.3
How to Unit Test jscodeshift Transforms With ts-jest
MODULE 6
Linting
LESSON 6.1
How to Ensure Codebase is Up to Date With Linting Rules
LESSON 6.2
How to Use ESLint to Create AST Rules With Babel Traverse
LESSON 6.3
How to Test Custom ESLint Linting Rules With AST
Go to Next Lesson
Go to Next Lesson
LESSON 5.3
How to Unit Test jscodeshift Transforms With ts-jest
Go Pro
Lesson
Editor