ripgrep Rules
Blazing-fast recursive search tool. Find patterns in code with regex support, file filtering, and smart defaults.
3 rules
Ripgrep Configuration File Standards
Beginner
Use .ripgreprc for consistent search defaults — smart-case sensitivity, default file type filters, hidden file handling, and glob exclusions for a clean search experience.
globs: **/.ripgreprc, **/.rgignore
ripgreprc, configuration, search-defaults, glob-exclusions
View Rule
Effective Search Patterns
Intermediate
Use ripgrep's features effectively — type filters for language-specific searches, word boundaries for precise matching, multiline patterns, and context output for readable results.
globs: **/.ripgreprc, **/.rgignore, **/*.sh
search-patterns, type-filters, word-boundary, regex
View Rule
Custom Type Definitions
Beginner
Define custom file types in ripgrep for project-specific search needs — add type definitions in .ripgreprc, combine types for cross-language searches, and negate types to exclude.
globs: **/.ripgreprc, **/.rgignore
type-definitions, custom-types, file-filters, search-optimization
View Rule