Navigate ESLint in SharePoint Framework (SPFx) Projects + Guidance

Pubblicato il: 18 gennaio 2024
sul canale di: 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  


In questa pagina del sito puoi guardare il video online Navigate ESLint in SharePoint Framework (SPFx) Projects + Guidance della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Andrew Connell 18 gennaio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 347 volte e gli è piaciuto 24 spettatori. Buona visione!