Code Transformation and Linting with ASTs
Course on Master.dev by Kent C. Dodds
- 3 h 29 min
- LengthVideo runtime
- Subscription
- Price modelMaster.dev plan
- 29
- Lessons
- Jul 2017
- Published11 Jul 2017
About this course
Learn Abstract Syntax Trees to help keep track of stylistic code changes, reveal logical problems, and spot domain-specific issues to prevent bugs from entering your codebase. By coding along with Kent in this course, you’ll learn: What Abstract Syntax Trees are, the tools available, and how to write custom ESLint rules, Babel plugins and Codemods with ASTs. This course is for experienced JavaScript developers who want to gain a deep understanding of Abstract Syntax Trees to solve frustrating problems with their codebase and improve their development experience writing JavaScript applications.
What it covers
- 01
Code Transformation and Linting with Abstract Syntax Trees
- Introduction
- 02
Abstract Syntax Trees
- Examples of Abstract Syntax Trees
- Introducing Abstract Syntax Trees
- Exploring ASTs
- 03
ESLint Plugin and AST
- Challenge 1: Making a Plugin
- Challenge 1: Solution
- Challenge 2: Adding New Methods
- Challenge 2: Solution
- Challenge 3: Schema Property
- Challenge 3: Solution
- Challenge 4: Edge Cases
- Challenge 4: Solution
- Challenge 5: Applying Fixes
- Challenge 5: Solution
- 04
Babel Plugin and AST
- Introducing Babel and AST
- Challenge 6: Captains Log
- Challenge 6: Solution
- Challenge 7: Prefixing
- Challenge 7: Solution
- Challenge 8: Arrow Function
- Challenge 8: Solution
- Challenge 9: Divide Function
- Challenge 9: Solution
- 05
Codemods and AST
- Introducing Codemods and AST
- Challenge 10: Upgrade Patterns
- Challenge 10: Solution
- Challenge 11: Swap Out Utilities
- Challenge 11: Solution
- 06
Wrapping Up Code Transformation and Linting with Abstract Syntax Trees
- Wrapping Up
Similar JavaScript courses
Same topic, nearest in length, up to three from any one provider.
Data read from the Master.dev catalogue on 28 Nov 2026. How the data is collected.