---
title: "lint/style/require-assign-set-padding"
pagination: false
---

{/* Generated by scripts/gen-rule-docs.py. Edit mapping.toml, not this file. */}

<RuleId id="lint/style/require-assign-set-padding" />

In the [`coding-style`](/docs/rules/sets/coding-style) set. Safe fix.

## What it does

Add extra space before new assign set

## Configuration

```toml title="pun.toml"
[lint.rules]
"style/require-assign-set-padding" = "error"
```

To skip it in some files or lines, add an [override](/docs/configuration/pun-toml#lint) or an [ignore comment](/docs/configuration/ignore-comments).

## Replaces

- [`NewlineBeforeNewAssignSet`](https://getrector.com/rule-detail/newline-before-new-assign-set-rector) (rector)

[More lint/style rules](/docs/rules/lint/style) · [Edit this page](https://github.com/shipfastlabs/pun/edit/main/crates/pun-config/rules/mapping.toml)
