---
title: "Language strictness config"
description: "Checks that Rust, Python, Go and shell projects configure their compilers, linters and type checkers strictly: Cargo [lints], unsafe_code and overflow-checks; a Python type checker (mypy strict, pyright mode) and linter; golangci-lint config and //nolint density; and `set -euo pipefail` in shell scripts. Reads configuration files only; nothing is executed. These are hygiene checks, so severities are info/low and the shell check is low-confidence. TypeScript strictness is covered elsewhere."
url: https://openaudit.se/auditors/code.strictness/
---

# Language strictness config

`code.strictness`

Checks that Rust, Python, Go and shell projects configure their compilers, linters and type checkers strictly: Cargo [lints], unsafe_code and overflow-checks; a Python type checker (mypy strict, pyright mode) and linter; golangci-lint config and //nolint density; and `set -euo pipefail` in shell scripts. Reads configuration files only; nothing is executed. These are hygiene checks, so severities are info/low and the shell check is low-confidence. TypeScript strictness is covered elsewhere.

- **Engine:** Built-in
- **Targets:** Codebase
- **Areas:** Maintainability
- **Runs:** By default, when the target applies
- **Network:** Only the target itself

## Run only this auditor

```sh
bunx @openaudit/cli . --only code.strictness
```

Built into openaudit; nothing to install.

## More maintainability auditors

- [Code quality](https://openaudit.se/auditors/code.quality/) (`code.quality`)
- [Code Health](https://openaudit.se/auditors/code.health/) (`code.health`)
- [Change coupling and knowledge](https://openaudit.se/auditors/code.history/) (`code.history`)
- [jscpd copy-paste detection](https://openaudit.se/auditors/code.jscpd/) (`code.jscpd`)
- [knip unused code scan](https://openaudit.se/auditors/code.knip/) (`code.knip`)
- [oxlint](https://openaudit.se/auditors/code.oxlint/) (`code.oxlint`)
- [Biome lint](https://openaudit.se/auditors/code.biome/) (`code.biome`)
- [ESLint](https://openaudit.se/auditors/code.eslint/) (`code.eslint`)
