Code Transformation and Linting with ASTs

Code Transformation and Linting with ASTs

Kent C Dodds
PayPal
3 hours, 28 minutes

Become a Master

This course and others like it are available as part of our Frontend Masters video subscription.

Watch Free Preview Join Frontend Masters
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.
Published: July 11, 2017

Table of Contents

Code Transformation and Linting with Abstract Syntax Trees

Abstract Syntax Trees

ESLint Plugin and AST

Babel Plugin and AST

Codemods and AST

Wrapping Up Code Transformation and Linting with Abstract Syntax Trees