mirror of
https://github.com/woocommerce/woocommerce.git
synced 2025-08-18 01:58:54 +08:00
Configure coderabbit to be more defensive in PR reviews (#59374)
* Configure coderabbit to be more defensive in PR reviews * Merge configuration files
This commit is contained in:
parent
5a29dcbe73
commit
48519ad307
1 changed files with 9 additions and 0 deletions
|
@ -6,3 +6,12 @@ reviews:
|
|||
suggested_labels: false
|
||||
suggested_reviewers: false
|
||||
poem: false
|
||||
path_instructions:
|
||||
- path: '**/*.{php,js,ts,jsx,tsx}'
|
||||
instructions: |
|
||||
Don't trust that extension developers will follow the best practices, make sure the code:
|
||||
- Guards against unexpected inputs.
|
||||
- Sanitizes and validates any potentially dangerous inputs.
|
||||
- Is backwards compatible.
|
||||
- Is readable and intuitive.
|
||||
- Has unit or E2E tests where applicable.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue