fix(rules): converter campo globs de array YAML para string compativel com Antigravity
This commit is contained in:
parent
790b56e614
commit
51261563a4
6 changed files with 6 additions and 26 deletions
|
|
@ -5,11 +5,7 @@ trigger: always_on
|
|||
description: Exige uso de arrow functions (const x = () => {}) em vez de function declarations (function x() {})
|
||||
scope: global
|
||||
updatedAt: "2026-07-01"
|
||||
globs:
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "**/*.js"
|
||||
- "**/*.vue"
|
||||
globs: "**/*.ts, **/*.tsx, **/*.js, **/*.vue"
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ trigger: always_on
|
|||
description: Proíbe uso de any, casts inseguros e padroniza uso de enums em código TypeScript
|
||||
scope: global
|
||||
updatedAt: "2026-06-01"
|
||||
globs:
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "**/*.vue"
|
||||
globs: "**/*.ts, **/*.tsx, **/*.vue"
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -6,10 +6,7 @@ version: "1.0"
|
|||
scope: global
|
||||
priority: alta
|
||||
trigger: always_on
|
||||
globs:
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "**/*.vue"
|
||||
globs: "**/*.ts, **/*.tsx, **/*.vue"
|
||||
alwaysApply: true
|
||||
updatedAt: "2026-06-01"
|
||||
references:
|
||||
|
|
|
|||
|
|
@ -5,11 +5,7 @@ trigger: always_on
|
|||
description: Exige uso de arrow functions (const x = () => {}) em vez de function declarations (function x() {})
|
||||
scope: global
|
||||
updatedAt: "2026-07-01"
|
||||
globs:
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "**/*.js"
|
||||
- "**/*.vue"
|
||||
globs: "**/*.ts, **/*.tsx, **/*.js, **/*.vue"
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ trigger: always_on
|
|||
description: Proíbe uso de any, casts inseguros e padroniza uso de enums em código TypeScript
|
||||
scope: global
|
||||
updatedAt: "2026-06-01"
|
||||
globs:
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "**/*.vue"
|
||||
globs: "**/*.ts, **/*.tsx, **/*.vue"
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -6,10 +6,7 @@ version: "1.0"
|
|||
scope: global
|
||||
priority: alta
|
||||
trigger: always_on
|
||||
globs:
|
||||
- "**/*.ts"
|
||||
- "**/*.tsx"
|
||||
- "**/*.vue"
|
||||
globs: "**/*.ts, **/*.tsx, **/*.vue"
|
||||
alwaysApply: true
|
||||
updatedAt: "2026-06-01"
|
||||
references:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue