Lessons

Explore all newline lessons

Tags
Author
Pricing
Sort By
Video
Spencer Miskoviak
Most Recent
Most Popular
Highest Rated
Reset
How to Test Custom ESLint Linting Rules With AST

lesson

How to Test Custom ESLint Linting Rules With ASTPractical Abstract Syntax Trees

Testing custom ESLint linting rules to verify they work as expected

How to Unit Test jscodeshift Transforms With ts-jest

lesson

How to Unit Test jscodeshift Transforms With ts-jestPractical Abstract Syntax Trees

Create tests for jscodeshift transforms for a faster feedback loop

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