Skip to content
CCA-F
Claude Code Configuration & Workflows
medium
Question 8 of 40

A project has TypeScript React files (*.tsx) that need different documentation standards from plain TypeScript files. What is the most targeted way to apply these specific standards in Claude Code without affecting all TypeScript files?

ACreate a separate CLAUDE.md file in every directory that contains .tsx files
BCreate a rules file in the .claude/rules/ directory with a glob pattern targeting *.tsx files
CAdd conditional logic to the project-level CLAUDE.md using if filetype == tsx syntax
DMaintain two separate Claude Code profiles and switch between them depending on the file type

Educational Content — CertQnA practice questions are written against official exam objectives, covering the same domains tested on the real exam. All content is original and independent — not actual exam questions, not affiliated with any certification vendor. Learn more about our content policy

Discussion

Be the first to share your understanding of this concept

⚠️ Discussion is for concept clarification only. Do not share or request actual exam questions or answers.

Sign in to join the discussion