Lessons

Explore all newline lessons

Tags
Author
Pricing
Sort By
Video
Most Recent
Most Popular
Highest Rated
Reset
How to Use ESLint to Create AST Rules With Babel Traverse

lesson

How to Use ESLint to Create AST Rules With Babel TraversePractical Abstract Syntax Trees

Use ESLint to create the same linting rule for the code with less boilerplate

How to Ensure Codebase is Up to Date With Linting Rules

lesson

How to Ensure Codebase is Up to Date With Linting RulesPractical Abstract Syntax Trees

Implement a linting rule to prevent the code we just transformed from being reintroduced in the future

How to Create Codemods Using jscodeshift

lesson

How to Create Codemods Using jscodeshiftPractical Abstract Syntax Trees

Using jscodeshift to make the same code transformations with less boilerplate

How to Add a Component and Update an AST

lesson

How to Add a Component and Update an ASTPractical Abstract Syntax Trees

Introduce a shared Button component to replace all existing button elements

Traversing an AST With Babel Traverse

lesson

Traversing an AST With Babel TraversePractical Abstract Syntax Trees

Programmatically traverse an AST and visit arbitrary nodes

How to Generate a JavaScript AST With Babel Plugins

lesson

How to Generate a JavaScript AST With Babel PluginsPractical Abstract Syntax Trees

Exploring tools to convert (or parse) JavaScript into a real AST

The Best JavaScript AST Tools - ESLint, Babel, Terser, and More

lesson

The Best JavaScript AST Tools - ESLint, Babel, Terser, and MorePractical Abstract Syntax Trees

An overview of the tooling available in the web frontend (JavaScript) ecosystem that rely on ASTs

How to View Abstract Syntax Tree Code With AST Explorer

lesson

How to View Abstract Syntax Tree Code With AST ExplorerPractical Abstract Syntax Trees

Looking at an example code snippet and how it relates to the resulting AST