Skip to content

Commit

Permalink
Misc tidying, .cursorrules, npm audit fixes (#55)
Browse files Browse the repository at this point in the history
* Misc tidying, .cursorrules, npm audit fixes

* Adjust
  • Loading branch information
mhsdef authored Sep 15, 2024
1 parent 8bee070 commit 8ceabda
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 63 deletions.
2 changes: 1 addition & 1 deletion .cursorrules
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- 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 use WordPress coding standards when writing JavaScript and TypeScript. When writing PHP, use WordPress coding standards but use PSR-4 for file organization and autoloading.
- 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.
Expand Down
128 changes: 66 additions & 62 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8ceabda

Please sign in to comment.