Skip to content

Commit 6e5de65

Browse files
authored
build: add some ai rules (#3)
1 parent 9b6b93a commit 6e5de65

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

.airules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
1. This is a monorepo using pnpm workspaces, turborepo, and vitest.
2+
2. The code is written in TypeScript and compiled to JavaScript to run in Google Apps Script.
3+
3. Run `pnpm build check test` to build, check, and test the code. Use `--filter "@repository/NAME_OF_PACKAGE"` to only run specific packages.
4+
4. Use `pnpm format` for code formatting with prettier.

.cursorrules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.airules

.vscode/settings.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
{
2-
"editor.defaultFormatter": "esbenp.prettier-vscode",
3-
"[javascript]": {
4-
"editor.defaultFormatter": "esbenp.prettier-vscode"
5-
}
6-
}
2+
"editor.defaultFormatter": "esbenp.prettier-vscode",
3+
"[javascript]": {
4+
"editor.defaultFormatter": "esbenp.prettier-vscode"
5+
},
6+
"windsurf.cascadeCommandsAllowList": [
7+
"pnpm test",
8+
"pnpm build",
9+
"pnpm build check test",
10+
"pnpm format",
11+
"cd"
12+
]
13+
}

.windsurfrules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.airules

0 commit comments

Comments
 (0)