diff --git a/rules/web/coding-style.md b/rules/web/coding-style.md index 5707164ea..1342749d8 100644 --- a/rules/web/coding-style.md +++ b/rules/web/coding-style.md @@ -1,3 +1,15 @@ +--- +paths: + - "**/*.css" + - "**/*.scss" + - "**/*.sass" + - "**/*.less" + - "**/*.html" + - "**/*.tsx" + - "**/*.jsx" + - "**/*.vue" + - "**/*.svelte" +--- > This file extends [common/coding-style.md](../common/coding-style.md) with web-specific frontend content. # Web Coding Style diff --git a/rules/web/design-quality.md b/rules/web/design-quality.md index 22c63c3f6..f5c57d2df 100644 --- a/rules/web/design-quality.md +++ b/rules/web/design-quality.md @@ -1,3 +1,15 @@ +--- +paths: + - "**/*.css" + - "**/*.scss" + - "**/*.sass" + - "**/*.less" + - "**/*.html" + - "**/*.tsx" + - "**/*.jsx" + - "**/*.vue" + - "**/*.svelte" +--- > This file extends [common/patterns.md](../common/patterns.md) with web-specific design-quality guidance. # Web Design Quality Standards diff --git a/rules/web/hooks.md b/rules/web/hooks.md index eaab93aee..97a6c570b 100644 --- a/rules/web/hooks.md +++ b/rules/web/hooks.md @@ -1,3 +1,15 @@ +--- +paths: + - "**/*.css" + - "**/*.scss" + - "**/*.sass" + - "**/*.less" + - "**/*.html" + - "**/*.tsx" + - "**/*.jsx" + - "**/*.vue" + - "**/*.svelte" +--- > This file extends [common/hooks.md](../common/hooks.md) with web-specific hook recommendations. # Web Hooks diff --git a/rules/web/patterns.md b/rules/web/patterns.md index ccec36856..d3f1b90fb 100644 --- a/rules/web/patterns.md +++ b/rules/web/patterns.md @@ -1,3 +1,15 @@ +--- +paths: + - "**/*.css" + - "**/*.scss" + - "**/*.sass" + - "**/*.less" + - "**/*.html" + - "**/*.tsx" + - "**/*.jsx" + - "**/*.vue" + - "**/*.svelte" +--- > This file extends [common/patterns.md](../common/patterns.md) with web-specific patterns. # Web Patterns diff --git a/rules/web/performance.md b/rules/web/performance.md index b7202800f..91a764752 100644 --- a/rules/web/performance.md +++ b/rules/web/performance.md @@ -1,3 +1,15 @@ +--- +paths: + - "**/*.css" + - "**/*.scss" + - "**/*.sass" + - "**/*.less" + - "**/*.html" + - "**/*.tsx" + - "**/*.jsx" + - "**/*.vue" + - "**/*.svelte" +--- > This file extends [common/performance.md](../common/performance.md) with web-specific performance content. # Web Performance Rules diff --git a/rules/web/security.md b/rules/web/security.md index b44278cf2..ece148124 100644 --- a/rules/web/security.md +++ b/rules/web/security.md @@ -1,3 +1,15 @@ +--- +paths: + - "**/*.css" + - "**/*.scss" + - "**/*.sass" + - "**/*.less" + - "**/*.html" + - "**/*.tsx" + - "**/*.jsx" + - "**/*.vue" + - "**/*.svelte" +--- > This file extends [common/security.md](../common/security.md) with web-specific security content. # Web Security Rules diff --git a/rules/web/testing.md b/rules/web/testing.md index 6bf58124e..23ebe132d 100644 --- a/rules/web/testing.md +++ b/rules/web/testing.md @@ -1,3 +1,15 @@ +--- +paths: + - "**/*.css" + - "**/*.scss" + - "**/*.sass" + - "**/*.less" + - "**/*.html" + - "**/*.tsx" + - "**/*.jsx" + - "**/*.vue" + - "**/*.svelte" +--- > This file extends [common/testing.md](../common/testing.md) with web-specific testing content. # Web Testing Rules