Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 993 Bytes

Readme.md

File metadata and controls

15 lines (9 loc) · 993 Bytes

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.