# Ripgrep Configuration for LLM-RULES
# This file extends ripgrep's default type definitions

# Add .mjs (ES modules) to JavaScript type
--type-add=js:*.mjs

# Add .cjs (CommonJS modules) to JavaScript type
--type-add=js:*.cjs

# Add .mts and .cts for TypeScript module variants
--type-add=ts:*.mts
--type-add=ts:*.cts

# Add .mdc (Markdown with components) to markdown type
--type-add=md:*.mdc

# Add common config file extensions
--type-add=config:*.yaml
--type-add=config:*.yml
--type-add=config:*.toml
--type-add=config:*.ini

# Smart case by default (case-insensitive unless pattern has uppercase)
--smart-case

# Follow symbolic links
--follow

# Show line numbers by default
--line-number
