---
url: /docs/guide/usage/linter/rules/vitest/padding-around-describe-blocks.md
---

### What it does

This rule enforces a line of padding before and after 1 or more `describe`
statements.

It doesn't add or enforce a padding line when the statement is the last one
in its scope.

### Why is this bad?

Inconsistent formatting of code can make the code more difficult to read
and follow. This rule helps ensure that `describe` blocks are visually
separated from the rest of the code, making them easier to identify while
looking through test files.

### Examples

Examples of **incorrect** code for this rule:

```js
const thing = 123;
describe("foo", () => {
  // stuff
});
describe("bar", () => {
  // more stuff
});
```

Examples of **correct** code for this rule:

```js
const thing = 123;

describe("foo", () => {
  // stuff
});

describe("bar", () => {
  // more stuff
});
```

## How to use

## Version

This rule was added in vnext.

## References
