diff --git a/components/dfs/.clang-format-ignore b/components/dfs/.clang-format-ignore new file mode 100644 index 00000000000..d828266030a --- /dev/null +++ b/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/ \ No newline at end of file diff --git a/components/dfs/dfs_v1/filesystems/.ignore_format.yml b/components/dfs/dfs_v1/filesystems/.ignore_format.yml deleted file mode 100644 index e72719df1d5..00000000000 --- a/components/dfs/dfs_v1/filesystems/.ignore_format.yml +++ /dev/null @@ -1,4 +0,0 @@ -# files format check exclude path, please follow the instructions below to modify; - -dir_path: -- elmfat diff --git a/components/dfs/dfs_v1/filesystems/elmfat/.ignore_format.yml b/components/dfs/dfs_v1/filesystems/elmfat/.ignore_format.yml deleted file mode 100644 index bf5ce8eb5a6..00000000000 --- a/components/dfs/dfs_v1/filesystems/elmfat/.ignore_format.yml +++ /dev/null @@ -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 diff --git a/components/dfs/dfs_v2/filesystems/.ignore_format.yml b/components/dfs/dfs_v2/filesystems/.ignore_format.yml deleted file mode 100644 index e72719df1d5..00000000000 --- a/components/dfs/dfs_v2/filesystems/.ignore_format.yml +++ /dev/null @@ -1,4 +0,0 @@ -# files format check exclude path, please follow the instructions below to modify; - -dir_path: -- elmfat diff --git a/components/dfs/dfs_v2/filesystems/elmfat/.ignore_format.yml b/components/dfs/dfs_v2/filesystems/elmfat/.ignore_format.yml deleted file mode 100644 index bf5ce8eb5a6..00000000000 --- a/components/dfs/dfs_v2/filesystems/elmfat/.ignore_format.yml +++ /dev/null @@ -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 diff --git a/components/drivers/usb/.clang-format-ignore b/components/drivers/usb/.clang-format-ignore new file mode 100644 index 00000000000..dbdbce095eb --- /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 799e138c9d0..00000000000 --- 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 diff --git a/components/net/lwip/.clang-format-ignore b/components/net/lwip/.clang-format-ignore new file mode 100644 index 00000000000..291db62104b --- /dev/null +++ b/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/ \ No newline at end of file diff --git a/components/net/lwip/.ignore_format.yml b/components/net/lwip/.ignore_format.yml deleted file mode 100644 index 7ec1550bdfe..00000000000 --- a/components/net/lwip/.ignore_format.yml +++ /dev/null @@ -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