ccppccpp home

Profiles

TypeScript strict

Strict TypeScript that stays strict. No new any, loose types, unsafe assertions or suppressions; tsconfig keeps its strict flags; source files stay small.

Set this profile

ccpp cpo profile set typescript-strict

Inside Claude Code, prefix the command with ! to run it in the session. Downloading a profile needs a Builder or Team plan; listing them does not.

Policies

6 policies, grouped by what they guard.

Weakened checks 2

Suppressions, disabled lint or CI steps and relaxed strictness need a reason or the user's approval.

  • ts-no-suppressions

    No new comments suppressing TypeScript or type-safety lint errors

  • tsconfig-strict

    tsconfig files may not turn strictness flags off

Type safety 3

No escapes from the type checker (any, unchecked casts, non-null assertions) and explicit contracts.

  • ts-no-any

    No new `any` in TypeScript

  • ts-no-loose-types

    No new `Function` or `Object` types in TypeScript

  • ts-no-unsafe-assertions

    No new double casts, `as {}` or non-null assertions in TypeScript

Architecture & boundaries 1

Declared layers and dependency directions, no import cycles, small modules, explicit dependencies.

  • source-file-size

    TypeScript source files may not grow beyond the size limit