Skip to content

Commit d38a849

Browse files
authored
Add copilot instructions (#3390)
1 parent a3bc6ed commit d38a849

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/copilot-instructions.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Any new php file should contain the license header and has a single blank line after the opening PHP tag.
2+
The variable name should be in snake_case.
3+
In Requests, if a user is provided by the query it is placed in the $this->user2.
4+
In Requests, $this->user is reserved for the user making the request.
5+
We do not use blade view, we use Vue3 instead.
6+
Use Typescript in composition API for Vue3. Use PrimeVue for UI components.
7+
Do not use await async calls in Vue3, use .then() instead.
8+
Do not use const function = () => {}, use function functionName() {} instead.

0 commit comments

Comments
 (0)