Navigate ESLint in SharePoint Framework (SPFx) Projects + Guidance

Опубликовано: 18 Январь 2024
на канале: Andrew Connell
347
24

Microsoft finally replaced the long-deprecated TSLint with ESLint in the SharePoint Framework (SPFx) v1.15 release of June 2022. This also involved revamping the default coding rules applied to all new SPFx projects. However, many of the rule configurations are quite opinionated and, in my view, oppressive.

This change has raised questions from many developers and students of my courses, including Michael K, one of my newsletter subscribers, who responded with some challenges he faced in one of his projects.

In this video, I offer guidance on how to approach build-time errors triggered by ESLint. I also explain how to modify the rules in your project and selectively disable rules within specific parts of your project.


🔗 Resources:
-------------------------------------------
🔗  Read the associated article - https://www.voitanos.io/blog/navigate...
🔗  Unboxing the SharePoint Framework (SPFx) v1.15 Release: What You Need to Know -    • Unboxing the SharePoint Framework (SP...  
🔗  SharePoint Framework (SPFx) v1.15 - The Attack of ESLint! -    • SharePoint Framework (SPFx) v1.15 - T...  


📚 Chapters
-------------------------------------------
00:00 : Introduction
02:14 : How should you approach or handle ESLint rules?
06:01 : Selectively disabling rules
07:45 : Recommendations for linting warnings & rules


🔖 My on-demand & free email courses
-------------------------------------------
📺  Mastering the SharePoint Framework
https://www.voitanos.io/course-master...
📺 Build Web Parts with the SharePoint Framework (SPFx)
https://www.voitanos.io/course-sharep...
📺 Extend the SharePoint UX with the SharePoint Framework (SPFx) Extensions
https://www.voitanos.io/course-sharep...
📺 Extend Viva Connections with the SharePoint Framework Adaptive Card Extensions
https://www.voitanos.io/course-sharep...
✉️  Explore & evaluate the SharePoint Framework
https://www.voitanos.io/ecourse-explo...
✉️  Understand the SharePoint Framework toolchain
https://www.voitanos.io/ecourse-under...


🔗 Links
-------------------------------------------
Newsletter ✉️ https://www.voitanos.io/newsletter
Website ▶️ https://www.voitanos.io
Twiter ▶️   / andrewconnell  
LinkedIn ▶️   / andrewconnell  
Facebook ▶️   / voitanos  
Instagram ▶️   / voitanos_llc  


Смотрите видео Navigate ESLint in SharePoint Framework (SPFx) Projects + Guidance онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Andrew Connell 18 Январь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 347 раз и оно понравилось 24 людям.