summaryrefslogtreecommitdiff
path: root/components/drivers/usb
diff options
context:
space:
mode:
authorCYFS <[email protected]>2025-10-28 15:17:04 +0800
committerGitHub <[email protected]>2025-10-28 15:17:04 +0800
commit6a9a1df4377a0ef1843a7b9b5a920f9dffafcfec (patch)
tree1ad05afb973e57010867c9a659cadab10a9c5492 /components/drivers/usb
parent0017ad125503689d7eabf5bc732eec326a06bc77 (diff)
[components]:utilize the clang-format-ignore mechanism (#10860)
Diffstat (limited to 'components/drivers/usb')
-rw-r--r--components/drivers/usb/.clang-format-ignore8
-rwxr-xr-xcomponents/drivers/usb/.ignore_format.yml6
2 files changed, 8 insertions, 6 deletions
diff --git a/components/drivers/usb/.clang-format-ignore b/components/drivers/usb/.clang-format-ignore
new file mode 100644
index 0000000000..dbdbce095e
--- /dev/null
+++ b/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/ \ No newline at end of file
diff --git a/components/drivers/usb/.ignore_format.yml b/components/drivers/usb/.ignore_format.yml
deleted file mode 100755
index 799e138c9d..0000000000
--- a/components/drivers/usb/.ignore_format.yml
+++ /dev/null
@@ -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 \ No newline at end of file