Skip to content

Commit 24a2fd1

Browse files
committed
Improving the regex to identify the cursor rules
1 parent 44294d4 commit 24a2fd1

16 files changed

+14
-17
lines changed

.cursor/rules/110-java-maven-best-practices.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Maven Best Practices
3-
globs:
3+
globs: pom.xml
44
alwaysApply: false
55
---
66
# Maven Best Practices

.cursor/rules/111-java-maven-deps-and-plugins.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Update pom.xml to add Maven dependencies & plugins
3-
globs:
3+
globs: pom.xml
44
alwaysApply: false
55
---
66
# Update pom.xml to add Maven dependencies & plugins

.cursor/rules/112-java-maven-documentation.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Create README-DEV.md with information about how to use the Maven project
3-
globs:
3+
globs: pom.xml
44
alwaysApply: false
55
---
66
# Create README-DEV.md with information about how to use the Maven project

.cursor/rules/121-java-object-oriented-design.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Java Object-Oriented Design Guidelines
3-
globs:
3+
globs: **/*.java
44
alwaysApply: false
55
---
66
# Java Object-Oriented Design Guidelines

.cursor/rules/122-java-type-design.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Type Design Thinking in Java
3-
globs:
3+
globs: **/*.java
44
alwaysApply: false
55
---
66
# Type Design Thinking in Java

.cursor/rules/123-java-general-guidelines.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Java General Guidelines
3-
globs:
3+
globs: **/*.java
44
alwaysApply: false
55
---
66
# Java General Guidelines

.cursor/rules/124-java-secure-coding.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Java Secure coding guidelines
3-
globs:
3+
globs: **/*.java
44
alwaysApply: false
55
---
66
# Java Secure coding guidelines

.cursor/rules/125-java-concurrency.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Java rules for Concurrency objects
3-
globs:
3+
globs: **/*.java
44
alwaysApply: false
55
---
66
# Java rules for Concurrency objects

.cursor/rules/126-java-logging.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Java Logging Best Practices
3-
globs:
3+
globs: **/*.java
44
alwaysApply: false
55
---
66
# Java Logging Best Practices

.cursor/rules/131-java-unit-testing.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Java Unit testing guidelines
3-
globs:
3+
globs: **/*Test.java
44
alwaysApply: false
55
---
66
# Java Unit testing guidelines

0 commit comments

Comments
 (0)