---
title: Use Prism as the default parser for tooling
impact: LOW
impactDescription: Leverage the faster, more accurate Ruby parser.
tags: ruby, tooling, prism, performance
---

## Use Prism as the default parser for tooling

Leverage the faster, more accurate Ruby parser. Configure tools like `RuboCop` or `SyntaxTree` to use `Prism` for parsing where supported in Ruby 3.4+.

**Incorrect:**

```yaml
# .rubocop.yml
AllCops:
  ParserEngine: parser # Default
```

**Correct:**

```yaml
# .rubocop.yml
AllCops:
  ParserEngine: prism
```

**Tools:** RuboCop (`ParserEngine: prism`)
---
