Office 365


Introduction If you’re an SPFx developer who uses Visual Studio Code, you may have noticed that the JSON files that the Yeoman generator creates contain comments to help you understand how to configure your manifest. The only problem is: JSON files aren’t supposed to have comments. And Visual Studio Code likes to remind you of that when it sees comments in a JSON file. For example, when you open the manifest for your brand new SPFx web part, you’ll find these nasty error messages: An example of schema validation errors caused by comments I’m one of those people who can’t stand any validation errors or warnings. I know, I know, I’m weird. But it drives me insane!!! Luckily, Paul Schaeflein has a solution that he Tweeted this morning: In this super-quick post, I’ll show how to configure your Visual Studio Code to stop showing validation errors for comments in…

A while ago, I wrote an SPFx Application Customizer that allows you to insert custom CSS on your SharePoint modern pages and posted about it.

The solution is now a sample in the SharePoint SharePoint Framework Extensions Samples & Tutorial Materials repo.

I received lots of feedback, comments and questions about the article so I decided to write an updated article to answer the most frequently asked questions.

I have since updated the solution to SPFx 1.8 and created a simple automated deployment script to (hopefully) reduce issues.