Skip to main content

no-unconventional-code-blocks

Requires conventional language identifiers for fenced code blocks.

Rule Details

This rule automatically replaces bash with sh, console with powershell, and text with txt.

<!-- Bad -->

```bash
echo "Hello"
```

<!-- Good -->

```sh
echo "Hello"
```

Options

This rule is not configurable.

Resources