fix glob format

This commit is contained in:
Chris Watson
2025-04-17 13:53:29 -06:00
parent 5125f271f2
commit 8fe9254c05
236 changed files with 253 additions and 244 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
---
description: This rule provides comprehensive guidelines for using Axios effectively, covering best practices, security considerations, and performance optimization. It aims to improve code quality, maintainability, and overall application resilience when working with Axios.
globs: **/*.{js,jsx,ts,tsx}
globs: *.js,*.jsx,*.ts,*.tsx
---
- **Avoid hardcoding URLs**: Store API endpoints in configuration files or environment variables to enhance maintainability and avoid redundancy.
- **Centralize API Logic**: Create dedicated modules or services to encapsulate Axios instances and request logic. This promotes reusability and simplifies debugging.