---
title: "Configuration"
description: "Understand detector options, precedence, and immutability."
---

> Documentation Index
> Fetch the complete documentation index at: https://profanity-kit.up2dul.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuration

The detector configuration is immutable. Create a new detector when rules
change. Options are resolved with this precedence:

```text
allowList
↓ wins over
blockList
↓
language dictionaries
```

`blockList` adds application-specific whole words. `allowList` suppresses a
word even when it comes from a built-in pack. With multiple packs, allowlist
precedence applies across every pack's normalization locale and does not depend
on pack order. `replacement` sets the default single code point used by
`filter()`.

See [Customization](/guides/customization) for task-oriented recipes.

Source: https://profanity-kit.up2dul.dev/core-concepts/configuration/index.mdx
