{"id":21257793,"url":"https://github.com/maroontress/stylechecker","last_synced_at":"2025-07-11T02:32:09.178Z","repository":{"id":103784556,"uuid":"144629982","full_name":"maroontress/StyleChecker","owner":"maroontress","description":"StyleChecker is another code style checking and refactoring tool similar to NetAnalyzers, StyleCop Analyzers, SonarLint, Roslynator, etc.","archived":false,"fork":false,"pushed_at":"2025-06-12T06:04:22.000Z","size":1141,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T06:06:38.854Z","etag":null,"topics":["csharp","csharp12","roslyn","roslyn-analyzer","roslyn-codefix","stylechecker","visual-studio"],"latest_commit_sha":null,"homepage":"https://maroontress.github.io/StyleChecker/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maroontress.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-08-13T20:25:16.000Z","updated_at":"2025-06-12T05:32:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"0e4867fc-6968-4660-802f-1cf81b501f11","html_url":"https://github.com/maroontress/StyleChecker","commit_stats":null,"previous_names":[],"tags_count":45,"template":false,"template_full_name":null,"purl":"pkg:github/maroontress/StyleChecker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maroontress%2FStyleChecker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maroontress%2FStyleChecker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maroontress%2FStyleChecker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maroontress%2FStyleChecker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maroontress","download_url":"https://codeload.github.com/maroontress/StyleChecker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maroontress%2FStyleChecker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264712787,"owners_count":23652658,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","csharp12","roslyn","roslyn-analyzer","roslyn-codefix","stylechecker","visual-studio"],"created_at":"2024-11-21T04:05:53.773Z","updated_at":"2025-07-11T02:32:09.167Z","avatar_url":"https://github.com/maroontress.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StyleChecker\n\nStyleChecker is another code style checking and refactoring tool similar to\n[NetAnalyzers][netanalyzers], [StyleCop Analyzers][stylecopanalyzers],\n[SonarLint][sonarlint], [Roslynator][roslynator], etc. It uses the\n[.NET Compiler Platform (\"Roslyn\")][roslyn] to analyze the C# source code of\n.NET projects and outputs diagnostics of rule violations. And when used with\nIDEs such as Visual Studio, it provides as many code fixes as possible. Note\nthat you should use this tool with other Roslyn analyzers, as it contains only\ncomplementary or niche analyzers.\n\n## Get started\n\nStyleChecker is available as [the ![NuGet-logo][nuget-logo] NuGet\npackage][nuget-stylechecker].\n\n### Install StyleChecker to your project with Visual Studio\n\n1. Open Package Manager Console. (Open your project with Visual Studio, and\n   select Tools \u0026#x279c; NuGet Package Manager \u0026#x279c; Package Manager\n   Console.)\n2. Enter the command `Install-Package StyleChecker` in the Package Manager\n   Console.\n\n### Install StyleChecker to your project with .NET CLI\n\n- Enter the command `dotnet add package StyleChecker` with the console.\n\n## Diagnostics\n\nSee [the list of diagnostics](doc/rules).\n\n## Customize configuration\n\nYou can customize some analyzers to change their behaviors by placing the\nconfiguration file `StyleChecker.xml` at the project root. The XML Schema\nDefinition file `config.v1.xsd` of the configuration file and a sample of the\nconfiguration file are available in the directory\n`StyleChecker/StyleChecker/nuget/samples/` of the source tree (or in\n`~/.nuget/packages/stylechecker/VERSION/samples/` if you installed StyleChecker\nwith the NuGet package). Note that StyleChecker does not use the XML Schema\nDefinition file. But it helps you edit `StyleChecker.xml` with the text editor\nthat can validate XML documents (for example, Visual Studio IDE, Visual Studio\nCode, and so on).\n\nCreate your own `StyleChecker.xml` file, place it at your project root, and add\nthe `AdditionalFiles` element to the `.csproj` file in your project as follows:\n\n```xml\n\u003cItemGroup\u003e\n  \u003cAdditionalFiles Include=\"StyleChecker.xml\" /\u003e\n\u003c/ItemGroup\u003e\n```\n\nAlternatively, in Visual Studio, you can set the value \"C# analyzer additional\nfile\" to the Build Action property. You can change this property from Solution\nExplorer \u0026#x279c; Right Click on the `StyleChecker.xml` \u0026#x279c; Properties\n\u0026#x279c; Advanced \u0026#x279c; Build Action.\n\n[roslyn]: https://github.com/dotnet/roslyn\n[netanalyzers]: https://www.nuget.org/packages/Microsoft.CodeAnalysis.NetAnalyzers\n[stylecopanalyzers]: https://github.com/DotNetAnalyzers/StyleCopAnalyzers\n[sonarlint]: https://github.com/SonarSource/sonarlint-visualstudio\n[roslynator]: https://github.com/JosefPihrt/Roslynator\n[nuget-stylechecker]: https://www.nuget.org/packages/StyleChecker/\n[nuget-logo]: https://maroontress.github.io/images/NuGet-logo.png\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaroontress%2Fstylechecker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaroontress%2Fstylechecker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaroontress%2Fstylechecker/lists"}