- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Open Source Contribution: Implementing a New Rule in BiomeJs | Rust Programming
Hello and welcome back! In this video, I take you through my latest open-source contribution to BiomeJs (a fast formatter and linter written in Rust).
I detail the process of porting the **preserve-uncaught-error** rule from ESLint, a task that took a couple of weeks and provided a great opportunity to continue learning Rust.
What's Covered:
Rule Implementation: I explain the core logic, which involves a multi-step tree traversal to identify throw statements within a catch block while ignoring those inside functions, methods, or classes (mirroring the ESLint behavior).
Technical Decisions: A look at how I check for the error binding match and the decision to temporarily delay the implementation of the action fix (auto-correction) due to complexities, like destructuring and the compatibility of the cause property across different JavaScript/TypeScript versions.
Improved Documentation: I discuss the importance of writing clear, explicit documentation (including Rust documentation and changelog entries), a skill I've been actively working on based on feedback from previous pull requests.
Join me as I share the challenges and considerations of contributing to a large-scale open-source project!
Видео Open Source Contribution: Implementing a New Rule in BiomeJs | Rust Programming канала kedevked
I detail the process of porting the **preserve-uncaught-error** rule from ESLint, a task that took a couple of weeks and provided a great opportunity to continue learning Rust.
What's Covered:
Rule Implementation: I explain the core logic, which involves a multi-step tree traversal to identify throw statements within a catch block while ignoring those inside functions, methods, or classes (mirroring the ESLint behavior).
Technical Decisions: A look at how I check for the error binding match and the decision to temporarily delay the implementation of the action fix (auto-correction) due to complexities, like destructuring and the compatibility of the cause property across different JavaScript/TypeScript versions.
Improved Documentation: I discuss the importance of writing clear, explicit documentation (including Rust documentation and changelog entries), a skill I've been actively working on based on feedback from previous pull requests.
Join me as I share the challenges and considerations of contributing to a large-scale open-source project!
Видео Open Source Contribution: Implementing a New Rule in BiomeJs | Rust Programming канала kedevked
Комментарии отсутствуют
Информация о видео
7 ч. 27 мин. назад
00:08:49
Другие видео канала





















