rename folder

This commit is contained in:
sanjeed5
2025-02-27 00:04:07 +05:30
parent 519c3fa882
commit f7fa52c998
879 changed files with 0 additions and 0 deletions
@@ -0,0 +1,6 @@
---
description: Promotes functional programming and composition over inheritance while maintaining consistency with WordPress best practices.
globs: /wp-plugin/**/*.*
---
- Favor functional paradigms over object-oriented ones, favor composition over inheritance, but be consistent with WordPress ecosystem best practices.
- Optimize for readability.
@@ -0,0 +1,6 @@
---
description: Enforces WordPress coding standards and prefers TypeScript for JavaScript/TypeScript files within the WordPress plugin.
globs: /wp-plugin/**/*.{js,jsx,ts,tsx}
---
- Always use WordPress coding standards when writing JavaScript and TypeScript.
- Prefer writing TypeScript over JavaScript.
@@ -0,0 +1,6 @@
---
description: Enforces WordPress coding standards and type hinting for PHP files within the WordPress plugin.
globs: /wp-plugin/**/*.php
---
- Always use WordPress coding standards when writing PHP.
- Always type hint PHP code.
@@ -0,0 +1,10 @@
---
description: Applies general rules for WordPress plugin development, including coding standards, type hinting, and language preferences.
globs: /wp-plugin/**/*.*
---
- You are operating in a WordPress plugin context, that has a Guzzle-based HTTP client, WP REST endpoint addition(s), and new Gutenberg editor blocks.
- Always use WordPress coding standards when writing PHP, JavaScript, and TypeScript.
- Always type hint PHP code.
- Prefer writing TypeScript over JavaScript.
- Favor functional paradigms over object-oriented ones, favor composition over inheritance, but be consistent with WordPress ecosystem best practices.
- Optimize for readability.