Skip to content

About

Common non-domain related functionality-enhancing .NET packages

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Synaptix Packages

A monorepo of independent .NET libraries and Roslyn analyzers by the .stbl group. Licensed under GPL-3.0-or-later (libraries) and MIT (analyzers).

Packages

Package Version License Description
Synaptix.Text.Case NuGet GPL-3.0 String case conversions: PascalCase, camelCase, kebab-case, snake_case, dot.case, Train-Case
Synaptix.Analyzers NuGet MIT Roslyn analyzers encoding .stbl C# coding rules. STBL0001–STBL0005 + 2 CodeFixes.

Quick Start

Synaptix.Text.Case

dotnet add package Synaptix.Text.Case
using Synaptix.Text.Case;

"Hello World".ToKebabCase();   // "hello-world"
"some_value".ToPascalCase();   // "SomeValue"

Synaptix.Analyzers

dotnet add package Synaptix.Analyzers

Then in .editorconfig:

[*.cs]
dotnet_diagnostic.SYNAPTIX0001.severity = warning
dotnet_diagnostic.SYNAPTIX0002.severity = warning
dotnet_diagnostic.SYNAPTIX0003.severity = warning
dotnet_diagnostic.SYNAPTIX0004.severity = warning
dotnet_diagnostic.SYNAPTIX0005.severity = warning

Rules covered: banned type-name suffix, banned parameter abbreviation, private method in production class, ArgumentNullException.ThrowIfNull in non-boundary code, _ = await discard. See Synaptix.Analyzers README for details.

Build & Test

git clone https://github.com/dot-stbl/synaptix.packages.git
cd synaptix.packages

# Enable git hooks (strips AI attribution trailers locally)
git config core.hooksPath .githooks

dotnet build synaptix.packages.slnx
dotnet test synaptix.packages.slnx

Versioning

Each package versions independently via git tags + MinVer. Tag prefix is per-package:

  • v-text-<X.Y.Z> → publishes Synaptix.Text.Case
  • v-analyzers-<X.Y.Z> → publishes Synaptix.Analyzers

release.yml parses the tag and packs exactly the matching project. Two tags are needed to release both packages in one go.

Documentation

License

About

Common non-domain related functionality-enhancing .NET packages

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages