前后端基本架构和完全excel表的解析及统计图表的生成以及excel表的到出

This commit is contained in:
2026-03-19 01:51:34 +08:00
parent c23b93bb70
commit 2f630695ff
194 changed files with 23354 additions and 174 deletions

View File

@@ -0,0 +1,20 @@
id: supabase-google-sso
language: Tsx
files:
- src/**/*.tsx
rule:
pattern: |
$AUTH.signInWithOAuth({ provider: 'google', $$$ })
message: |
Replace `signInWithOAuth` with `signInWithSSO` for Google authentication (Supabase).
Refactor to:
```typescript
const { data, error } = await supabase.auth.signInWithSSO({
domain: 'miaoda-gg.com',
options: { redirectTo: window.location.origin },
});
if (data?.url) window.open(data.url, '_self');
```
Ensure `window.open` uses `_self` target.
severity: warning