Prechádzať zdrojové kódy

[components]:utilize the clang-format-ignore mechanism (#10860)

CYFS 2 mesiacov pred
rodič
commit
6a9a1df437

+ 9 - 0
components/dfs/.clang-format-ignore

@@ -0,0 +1,9 @@
+# .clang-format-ignore File Description:
+# ----------------------------------------------------------------------------------------
+# 1. Used to specify which files or directories should be skipped by the clang-format tool.
+# 2. Follows syntax rules similar to .gitignore.
+# 3. Supports wildcard patterns and path matching.
+# 4. clang-format will recursively apply the .clang-format-ignore rules.
+
+
+/**/elmfat/

+ 0 - 4
components/dfs/dfs_v1/filesystems/.ignore_format.yml

@@ -1,4 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-
-dir_path:
-- elmfat

+ 0 - 10
components/dfs/dfs_v1/filesystems/elmfat/.ignore_format.yml

@@ -1,10 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-file_path:
-- diskio.h
-- ff.c
-- ff.h
-- ffconf.h
-- ffunicode.c

+ 0 - 4
components/dfs/dfs_v2/filesystems/.ignore_format.yml

@@ -1,4 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-
-dir_path:
-- elmfat

+ 0 - 10
components/dfs/dfs_v2/filesystems/elmfat/.ignore_format.yml

@@ -1,10 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-file_path:
-- diskio.h
-- ff.c
-- ff.h
-- ffconf.h
-- ffunicode.c

+ 8 - 0
components/drivers/usb/.clang-format-ignore

@@ -0,0 +1,8 @@
+# .clang-format-ignore File Description:
+# ----------------------------------------------------------------------------------------
+# 1. Used to specify which files or directories should be skipped by the clang-format tool.
+# 2. Follows syntax rules similar to .gitignore.
+# 3. Supports wildcard patterns and path matching.
+# 4. clang-format will recursively apply the .clang-format-ignore rules.
+
+/cherryusb/

+ 0 - 6
components/drivers/usb/.ignore_format.yml

@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- cherryusb

+ 10 - 0
components/net/lwip/.clang-format-ignore

@@ -0,0 +1,10 @@
+# .clang-format-ignore File Description:
+# ----------------------------------------------------------------------------------------
+# 1. Used to specify which files or directories should be skipped by the clang-format tool.
+# 2. Follows syntax rules similar to .gitignore.
+# 3. Supports wildcard patterns and path matching.
+# 4. clang-format will recursively apply the .clang-format-ignore rules.
+
+/lwip-1.4.1/
+/lwip-2.0.3/
+/lwip-2.1.2/

+ 0 - 8
components/net/lwip/.ignore_format.yml

@@ -1,8 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- lwip-1.4.1
-- lwip-2.0.3
-- lwip-2.1.2