Update quotes rule for string in CODING_STANDARDS.md (#6327)

This commit is contained in:
Bijin A B
2025-12-06 02:01:03 +05:30
committed by GitHub
parent 57222d2500
commit f5211f6a08

View File

@@ -6,7 +6,7 @@
- Use 2 spaces for indentation. No tabs, just spaces keeps everything neat and uniform.
- Stick to single quotes for strings. Double quotes are cool elsewhere, but here we go single.
- Stick to single quotes for strings. For JSX/TSX attributes, use double quotes (e.g., <svg xmlns="..." viewBox="...">) to follow React conventions.
- Always add semicolons at the end of statements. It's like putting a period at the end of a sentence clarity matters.