{"id":25009501,"url":"https://github.com/kentico/codeanalysisruleset","last_synced_at":"2025-04-23T18:05:16.301Z","repository":{"id":142018659,"uuid":"46994810","full_name":"Kentico/CodeAnalysisRuleset","owner":"Kentico","description":"Static code analysis rule set used in Kentico projects.","archived":false,"fork":false,"pushed_at":"2021-02-23T14:16:36.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-03-07T23:49:17.242Z","etag":null,"topics":["kentico","kentico-cms","kentico-ems"],"latest_commit_sha":null,"homepage":"","language":null,"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/Kentico.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"License.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2015-11-27T18:42:24.000Z","updated_at":"2021-02-23T14:16:39.000Z","dependencies_parsed_at":"2023-07-07T07:45:29.929Z","dependency_job_id":null,"html_url":"https://github.com/Kentico/CodeAnalysisRuleset","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kentico%2FCodeAnalysisRuleset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kentico%2FCodeAnalysisRuleset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kentico%2FCodeAnalysisRuleset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kentico%2FCodeAnalysisRuleset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kentico","download_url":"https://codeload.github.com/Kentico/CodeAnalysisRuleset/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246266248,"owners_count":20749754,"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":["kentico","kentico-cms","kentico-ems"],"created_at":"2025-02-05T04:39:51.914Z","updated_at":"2025-03-30T02:10:35.062Z","avatar_url":"https://github.com/Kentico.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kentico Code Analysis Rule Set\n\n[![Build status](https://ci.appveyor.com/api/projects/status/h17txv85llgocrw0?svg=true)](https://ci.appveyor.com/project/kentico/codeanalysisruleset)\n\nThis repository contains a static code analysis rule set used by Kentico projects. The rule set aggregates various code analysis libraries and rules to one reusable NuGet package.\n\nIf you're new to static code analysis, take a look at this [video](https://www.youtube.com/watch?v=lFYyp_jUXgs).\n\n:warning: This rule set is designed for Kentico v10. Using the rule set with a previous version of Kentico will produce some additional warnings.\n\n### How do I install the rule set in my projects?\n\nInstall this NuGet package as a dependency. This automatically adds references to the code analyzer libraries and downloads the rule set file into the project root folder. \n```powershell\nInstall-Package Kentico.CodeAnalysis.Ruleset\n```\nThen, in your project properties \u003e code analysis \u003e select the newly downloaded rule set.\n\n### How do I run code analysis from the command line?\n\nAfter a successful installation, set the ```RunCodeAnalysis``` parameter in ```MSBuild``` to true and you're good to go.\n```powershell\nMSBuild MySolution.sln /p:RunCodeAnalysis=true\n```\n\n### Benefits of distributing rule set as a NuGet package\n\n- automatic updates of dependencies to Code Analyzer libraries\n- automatic updates of the rule set file\n- reusability of the same rule set in different projects/solutions\n\n## Active rules\n\n- **Microsoft.AnalyzerPowerPack.Common**\n - :warning: [CA1715](https://msdn.microsoft.com/library/ms182243.aspx): Identifiers should have correct prefix.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentico%2Fcodeanalysisruleset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentico%2Fcodeanalysisruleset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentico%2Fcodeanalysisruleset/lists"}