Skip to content
JS

Code Transformation and Linting with ASTs

Course on Master.dev by Kent C. Dodds

View on Master.dev (opens in a new tab)
3 h 29 min
LengthVideo runtime
Subscription
Price modelMaster.dev plan
29
Lessons
Jul 2017
Published11 Jul 2017

About this course

Description from Master.dev

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

29 lessons
  1. 01

    Code Transformation and Linting with Abstract Syntax Trees

    1. Introduction
  2. 02

    Abstract Syntax Trees

    1. Examples of Abstract Syntax Trees
    2. Introducing Abstract Syntax Trees
    3. Exploring ASTs
  3. 03

    ESLint Plugin and AST

    1. Challenge 1: Making a Plugin
    2. Challenge 1: Solution
    3. Challenge 2: Adding New Methods
    4. Challenge 2: Solution
    5. Challenge 3: Schema Property
    6. Challenge 3: Solution
    7. Challenge 4: Edge Cases
    8. Challenge 4: Solution
    9. Challenge 5: Applying Fixes
    10. Challenge 5: Solution
  4. 04

    Babel Plugin and AST

    1. Introducing Babel and AST
    2. Challenge 6: Captains Log
    3. Challenge 6: Solution
    4. Challenge 7: Prefixing
    5. Challenge 7: Solution
    6. Challenge 8: Arrow Function
    7. Challenge 8: Solution
    8. Challenge 9: Divide Function
    9. Challenge 9: Solution
  5. 05

    Codemods and AST

    1. Introducing Codemods and AST
    2. Challenge 10: Upgrade Patterns
    3. Challenge 10: Solution
    4. Challenge 11: Swap Out Utilities
    5. Challenge 11: Solution
  6. 06

    Wrapping Up Code Transformation and Linting with Abstract Syntax Trees

    1. Wrapping Up

Similar JavaScript courses

  1. Blazingly Fast JavaScript

    Master.dev · ThePrimeagen · 20 lessons · Jan 2024

    3 h 33 minSubscription
    Master.dev20Jan 2024
  2. Advanced Asynchronous JavaScript

    Master.dev · Jafar Husain · 38 lessons · Sept 2017

    3 h 35 minSubscription
    Master.dev38Sept 2017
  3. Introduction to JavaScript and jQuery

    Master.dev · Karl Swedberg · 24 lessons · Feb 2012

    3 h 35 minSubscription
    Master.dev24Feb 2012
  4. Discover: JavaScript Frameworks Behind the Scenes

    Educative · Sayf Essyd · 11 lessons · Sept 2025

    Beginner3 h 10 minSubscription
    Educative11Sept 2025
  5. Authorization with OAuth 2.0 in JavaScript

    Educative · Educative · 12 lessons · Mar 2025

    Beginner3 hSubscription
    Educative12Mar 2025
  6. Blogging Using the Blogger API in JavaScript

    Educative · Educative · 13 lessons · Nov 2024

    Beginner3 hSubscription
    Educative13Nov 2024
  7. Beginner3 h
    Codecademy2Dec 2022
  8. Beginner3 h
    Codecademy2Nov 2018

A hyphen means the provider's catalogue does not state the value.

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.

    Compare