From 51261563a4c04575b2c3c2a3d08aa46e312267bc Mon Sep 17 00:00:00 2001 From: marcio Date: Fri, 30 Oct 2026 10:28:01 -0300 Subject: [PATCH] fix(rules): converter campo globs de array YAML para string compativel com Antigravity --- global/rules/funcoes-anonimas-arrow.md | 6 +----- global/rules/typescript-sem-any.md | 5 +---- global/rules/zod-validacao-padrao.md | 5 +---- rules/funcoes-anonimas-arrow.md | 6 +----- rules/typescript-sem-any.md | 5 +---- rules/zod-validacao-padrao.md | 5 +---- 6 files changed, 6 insertions(+), 26 deletions(-) diff --git a/global/rules/funcoes-anonimas-arrow.md b/global/rules/funcoes-anonimas-arrow.md index e318965..fd924c2 100644 --- a/global/rules/funcoes-anonimas-arrow.md +++ b/global/rules/funcoes-anonimas-arrow.md @@ -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 --- diff --git a/global/rules/typescript-sem-any.md b/global/rules/typescript-sem-any.md index 27bd9f0..24edcdc 100644 --- a/global/rules/typescript-sem-any.md +++ b/global/rules/typescript-sem-any.md @@ -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 --- diff --git a/global/rules/zod-validacao-padrao.md b/global/rules/zod-validacao-padrao.md index 5aed0c0..408e9ec 100644 --- a/global/rules/zod-validacao-padrao.md +++ b/global/rules/zod-validacao-padrao.md @@ -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: diff --git a/rules/funcoes-anonimas-arrow.md b/rules/funcoes-anonimas-arrow.md index e318965..fd924c2 100644 --- a/rules/funcoes-anonimas-arrow.md +++ b/rules/funcoes-anonimas-arrow.md @@ -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 --- diff --git a/rules/typescript-sem-any.md b/rules/typescript-sem-any.md index 27bd9f0..24edcdc 100644 --- a/rules/typescript-sem-any.md +++ b/rules/typescript-sem-any.md @@ -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 --- diff --git a/rules/zod-validacao-padrao.md b/rules/zod-validacao-padrao.md index 5aed0c0..408e9ec 100644 --- a/rules/zod-validacao-padrao.md +++ b/rules/zod-validacao-padrao.md @@ -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: