OneSignal / OneSignal-Xamarin-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Xamarin app with OneSignal. https://onesignal.com
Other
104 stars 50 forks source link

Add StyleCop tool for lint and formatting #330

Closed jkasten2 closed 1 year ago

jkasten2 commented 1 year ago

Description

One Line Summary

Add StyleCop tool for lint and formatting.

Details

Motivation

To improve code quality and readability.

Scope

Only enables this as warnings for now.

Testing

Manual testing

Tested on Visual Studio 2022 for Mac (17.4 build 715), ensured new warnings show after building.

Affected code checklist

Checklist

Overview

Testing

Final pass


This change is Reviewable

brismithers commented 1 year ago

Should we add a common stylecop.json file in the repo to support configuration? https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/Configuration.md