youtube image
From YouTube: Modernize your SharePoint Framework projects

Description

In this 14-minute developer-focused demo, Andrew Connell efficiently shows the steps to take an existing SPFx project using TSLint and move it over to ESLint and dump IE11 at same time. Basically, install and configure ESLint, and update gulp tasks - effectively telling TypeScript complier to use modern js target and update referenced libraries. Then appreciate Andrew’s ESLint preset for SPFx that automates the update! Bonus - updating yields smaller and faster bundles. This PnP Community demo is taken from the SharePoint Framework and JavaScript Special Interest Group (SIG) – Bi-weekly sync call recorded on September 9, 2021.

Demo Presenter: Andrew Connell (Voitanos) | @andrewconnell

Supporting materials:
• Article - Get with the times & ditch TSLint in favor of ESLint in SharePoint Framework projects | https://vtns.io/ditch-eslint-spfx
• Article - Ditch TSLint for ESLint in SPFx projects in one simple step | https://vtns.io/ditch-eslint-spfx-preset
• Article - Optimize bundles by disabling IE11 support in SPFx projects | https://vtns.io/disable-ie11-spfx

Learn more:
• Learn more about the Microsoft 365 Patterns and Practices community at: http://aka.ms/m365pnp
• Visit the Microsoft 365 Patterns and Practices community YouTube channel: https://aka.ms/m365pnp/videos