Skip to content

slax57/ast-talk-examples

Repository files navigation

AST Talk Examples

This repository contains the example code used for the demo deuring the talk "AST: The secret weapon of master developers" given at the Apéro Web Nancy on 2024-11-27.

Content

  • main branch: the initial code
  • eslint-solution-simple branch: the simple solution, presented during the talk, where the ESLint rule only detects the issue with "@mui/icons-material" imports and suggests the fix
  • eslint-solution branch: the more complete solution, where the ESLint rule is configurable and can detect issues with imports from other libraries, and also includes unit tests

Setup

Run npm install to install the dependencies.

On the eslint-solution branch, you can run the tests with npm run eslint:test.

About

Example code for AST talk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published