Skip to content

Commit

Permalink
Adds stylecop base scripts to support coding rules enforcement (#1428)
Browse files Browse the repository at this point in the history
* Add missing preloaded asset

* Adding stylecop analyser

* adding analyser assembly

* adding default ruleset

* adding custom ruleset

* Add custom ruleset to each assembly

Also add automatic custom ruleset file generator, for each assembly under the SS3D folder in Scripts

* change one rule to error for tests

* add manager for rulesets

* rename editor window menu

* Apply adjustments to code following the new stylecop rules

* Remove unused stuff

* Remove unused rulesets

* Revert "Apply adjustments to code following the new stylecop rules"

This reverts commit 5e794b1.

# Conflicts:
#	Assets/Scripts/SS3D/Analysers/StyleCop.Analyzers.dll.meta
#	Assets/Scripts/SS3D/Core/LogManager.cs
#	Assets/Scripts/SS3D/Logging/Log.cs
#	Assets/Scripts/SS3D/Logging/SS3DUnityTextFormatter.cs
#	Assets/Scripts/SS3D/Rendering/EdgeDetectionColor.cs.meta
#	Assets/Scripts/SS3D/Rendering/EdgeDetectionColorsEditor.cs.meta
#	Assets/Scripts/SS3D/SS3D.asmdef.meta
#	Assets/Scripts/SS3D/SS3DRules.ruleset.meta

* Revert code changes and add code linting back

* Update rules and create one for external scripts

* Add checks for rulesets existance and chance rules

* Update all rules and fixes all errors

* Fix issue with assembly

* Fix conflicts

* Fix chat channel settings NRE

* Add RCS1228

---------

Co-authored-by: stilnat <nathan.raynal.castang@gmail.com>
Co-authored-by: Mechar418 <iamteapot42@gmail.com>
  • Loading branch information
3 people authored Jul 19, 2024
1 parent 5ebfcba commit 2980ca3
Show file tree
Hide file tree
Showing 255 changed files with 20,951 additions and 6,127 deletions.
128 changes: 0 additions & 128 deletions Assets/Art/Font/TextMesh Pro/Examples & Extras/Scripts/Benchmark01.cs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 2980ca3

Please sign in to comment.