Skip to content

Commit 854a388

Browse files
author
shijiashuai
committed
fix: resolve frontmatter inconsistencies in cpp and gitflow rules
- cpp.mdc: add missing description, remove non-standard alwaysApply field, fix Makefil typo - gitflow.mdc: add missing globs key for consistency
1 parent 4ed667b commit 854a388

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cpp.mdc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
2-
description:
3-
globs: "**/*.c,**/*.cpp,**/*.h,**/*.hpp,**/*.cxx,CMakeLists.txt,*.cmake,conanfile.txt,Makefil,**/*.cc"
4-
alwaysApply: false
2+
description: 现代 C++ 编程的最佳实践、命名规范和代码模式
3+
globs: "**/*.c,**/*.cpp,**/*.h,**/*.hpp,**/*.cxx,CMakeLists.txt,*.cmake,conanfile.txt,Makefile,**/*.cc"
54
---
65
# C++ 编程指南
76

gitflow.mdc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: Gitflow 工作流规则。在执行 git 操作时应应用这些规则。
3+
globs:
34
---
45
# Gitflow 工作流规则
56

0 commit comments

Comments
 (0)