Skip to content

companieshouse/styleguides

Repository files navigation

Coding standards and guidelines

A collection of standards for development at Companies House. See Confluence for which version of software to use (internal CH link).

You can use the checklists to support ensuring a repository is up to scratch and meeting the latest repository standards.

General

Languages

Tools

Folder Structure Overview

The following guide explains the purpose of each folder to help keep content well organised:

.ci/bin/

  • Helper scripts or linters used in CI pipelines

Makefiles/

  • Makefile-related standards or examples, organised by language

checklists/

  • Reusable checklists for manual or automated workflows

concourse_icons/

  • PNG image assets used in Concourse dashboards, docs or internal tooling

general/

  • Shared guidance not tied to any one language, tool, or framework - general best practices

git/

  • Guidance for using Git consistently across teams

gitignore/

  • Prebuilt .gitignore fragments or examples for common technologies

standards/

  • Language-specific development standards, code style guides and review checklists

templates/

  • Markdown templates to be reused across repositories or teams

tools/

  • Docs for using key tools in the ecosystem (e.g., pipelines, versioning, build systems)

Linting

This repository is linted using Markdownlint. If you have docker installed and logged into the shared services ECR repository you can run these checks locally:

make markdownlint

OR

make markdownlint_file MARKDOWN_FILE=<...>.md

(Where <...> is the name of the file to be linted.)

Running the following will attempt to fix any of the markdownlint failures for you. (You may still have some like long lines to fix manually.)

FIX_MARKDOWN=true make markdownlint

About

Coding standards and other guidelines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 29