{"id":20247683,"url":"https://github.com/postsharp/postsharp.engineering.codestyle","last_synced_at":"2026-02-11T04:32:13.976Z","repository":{"id":146806160,"uuid":"434149582","full_name":"postsharp/PostSharp.Engineering.CodeStyle","owner":"postsharp","description":".editorconfig and Rider configuration for our projects","archived":false,"fork":false,"pushed_at":"2024-10-01T15:05:50.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-03T15:48:16.891Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/postsharp.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}},"created_at":"2021-12-02T09:01:20.000Z","updated_at":"2024-10-01T15:05:57.000Z","dependencies_parsed_at":"2024-11-14T09:39:01.366Z","dependency_job_id":"36d8548c-35e2-4549-8051-bc633b12cc95","html_url":"https://github.com/postsharp/PostSharp.Engineering.CodeStyle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/postsharp/PostSharp.Engineering.CodeStyle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postsharp%2FPostSharp.Engineering.CodeStyle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postsharp%2FPostSharp.Engineering.CodeStyle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postsharp%2FPostSharp.Engineering.CodeStyle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postsharp%2FPostSharp.Engineering.CodeStyle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/postsharp","download_url":"https://codeload.github.com/postsharp/PostSharp.Engineering.CodeStyle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postsharp%2FPostSharp.Engineering.CodeStyle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270684810,"owners_count":24627881,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-14T09:38:48.174Z","updated_at":"2026-02-11T04:32:13.969Z","avatar_url":"https://github.com/postsharp.png","language":null,"readme":"# PostSharp Engineering: Code Style Features\n\nMake sure you have read and understood [PostSharp Engineering](../README.md) before reading this doc.\n\n## Table of contents\n\n- [PostSharp Engineering: Code Style Features](#postsharp-engineering-code-style-features)\n  - [Table of contents](#table-of-contents)\n  - [Introduction](#introduction)\n  - [Installation](#installation)\n  - [Configuration](#configuration)\n  - [Code style cleanup](#code-style-cleanup)\n\n## Introduction\n\nThis repository contains centralized code-style configurations and scripts.\n\nUnified base code-style is found under `Standard` directory.\n\nOther projects using slightly altered code-style configuration are in their own directories, respective to the name of the project.\n\n## Installation\n\n1. Copy the `PostSharp.Engineering.CodeStyle` repo to your own repo into `eng/style` using `PostSharp.Engineering.BuildTools`, with the command:\n\n      ```\n      .\\Build.ps1 codestyle pull\n      ```\n\n    This tool will create a symlink for `.editorconfig`.\n\n2. Enable symlinks for your repo (edit `.git/config`).\n\n3. For each solution, in Rider, open Settings, choose \"Manage Layers\", select the team-shared layer, click on the `+` icon and then on \"Open Settings File\", then choose `eng/style/CommonStyle.DotSettings`.\n  This step is required for code formatting using `Build.ps1 codestyle format`, even if you are otherwise not using Rider.\n\n## Configuration\n\nThe code quality configuration is configured in the following files:\n\n- `.editorconfig`\n- `CommonStyle.DotSettings` (used by JetBrains tools)\n- `stylecop.json`\n\n## Code style cleanup\n\n1. Commit all your changes. You cannot reformat a repo with uncommitted changes.\n2. Do `.\\Build.ps1 codestyle format` from the repo root (see `PostSharp.Engineering`).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostsharp%2Fpostsharp.engineering.codestyle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpostsharp%2Fpostsharp.engineering.codestyle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostsharp%2Fpostsharp.engineering.codestyle/lists"}