mirror of
https://github.com/sanjeed5/awesome-cursor-rules-mdc.git
synced 2026-11-30 23:04:59 +08:00
fix glob format
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user