@schemastore/clang-format 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +16 -16
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -24,5 +24,5 @@ The definitions were auto-generated by [schemastore-updater](https://github.com/
24
24
  ## Additional Details
25
25
 
26
26
  * [Schema source](https://github.com/SchemaStore/schemastore/tree/master/src/schemas/json/clang-format)
27
- * Last updated: Fri, Jun 30, 2023, 21:03:58 GMT
27
+ * Last updated: Sat, Jul 19, 2025, 17:01:19 GMT
28
28
  * Dependencies: none
package/index.d.ts CHANGED
@@ -114,7 +114,7 @@ export interface ClangFormatConfig {
114
114
  /**
115
115
  * clang-format 9
116
116
 
117
- If a function call or braced initializer list doesn't fit on a line, allow putting all arguments onto the next line, even if BinPackArguments is false.
117
+ If a function call or braced initializer list doesnt fit on a line, allow putting all arguments onto the next line, even if BinPackArguments is false.
118
118
  */
119
119
  AllowAllArgumentsOnNextLine?: boolean;
120
120
  /**
@@ -122,13 +122,13 @@ export interface ClangFormatConfig {
122
122
 
123
123
  This option is deprecated in clang-format 15. See NextLine of PackConstructorInitializers.
124
124
 
125
- If a constructor definition with a member initializer list doesn't fit on a single line, allow putting all member initializers onto the next line, if `ConstructorInitializerAllOnOneLineOrOnePerLine` is true. Note that this parameter has no effect if `ConstructorInitializerAllOnOneLineOrOnePerLine` is false.
125
+ If a constructor definition with a member initializer list doesnt fit on a single line, allow putting all member initializers onto the next line, if `ConstructorInitializerAllOnOneLineOrOnePerLine` is true. Note that this parameter has no effect if `ConstructorInitializerAllOnOneLineOrOnePerLine` is false.
126
126
  */
127
127
  AllowAllConstructorInitializersOnNextLine?: boolean;
128
128
  /**
129
129
  * clang-format 3.3
130
130
 
131
- If the function declaration doesn't fit on a line, allow putting all parameters of a function declaration onto the next line even if BinPackParameters is false.
131
+ If the function declaration doesnt fit on a line, allow putting all parameters of a function declaration onto the next line even if BinPackParameters is false.
132
132
  */
133
133
  AllowAllParametersOfDeclarationOnNextLine?: boolean;
134
134
  /**
@@ -208,13 +208,13 @@ export interface ClangFormatConfig {
208
208
  /**
209
209
  * clang-format 3.7
210
210
 
211
- If false, a function call's arguments will either be all on the same line or will have one line each.
211
+ If false, a function calls arguments will either be all on the same line or will have one line each.
212
212
  */
213
213
  BinPackArguments?: boolean;
214
214
  /**
215
215
  * clang-format 3.7
216
216
 
217
- If false, a function declaration's or function definition's parameters will either all be on the same line or will have one line each.
217
+ If false, a function declarations or function definitions parameters will either all be on the same line or will have one line each.
218
218
  */
219
219
  BinPackParameters?: boolean;
220
220
  /**
@@ -450,7 +450,7 @@ export interface ClangFormatConfig {
450
450
  /**
451
451
  * clang-format 5
452
452
 
453
- If true, clang-format adds missing namespace end comments for short namespaces and fixes invalid existing ones. Short ones are controlled by "ShortNamespaceLines".
453
+ If true, clang-format adds missing namespace end comments for short namespaces and fixes invalid existing ones. Short ones are controlled by ShortNamespaceLines”.
454
454
  */
455
455
  FixNamespaceComments?: boolean;
456
456
  /**
@@ -488,16 +488,16 @@ export interface ClangFormatConfig {
488
488
  * clang-format 7
489
489
 
490
490
  Specify a regular expression of suffixes that are allowed in the file-to-main-include mapping.
491
- When guessing whether a #include is the "main" include (to assign category 0, see above), use this regex of allowed suffixes to the header stem. A partial match is done, so that: - "" means "arbitrary suffix" - "$" means "no suffix"
492
- For example, if configured to "(_test)?$", then a header a.h would be seen as the "main" include in both a.cc and a_test.cc.
491
+ When guessing whether a #include is the main include (to assign category 0, see above), use this regex of allowed suffixes to the header stem. A partial match is done, so that: - “” means arbitrary suffix - “$” means no suffix
492
+ For example, if configured to (_test)?$”, then a header a.h would be seen as the main include in both a.cc and a_test.cc.
493
493
  */
494
494
  IncludeIsMainRegex?: string;
495
495
  /**
496
496
  * clang-format 7
497
497
 
498
- Specify a regular expression for files being formatted that are allowed to be considered "main" in the file-to-main-include mapping.
499
- By default, clang-format considers files as "main" only when they end with: .c, .cc, .cpp, .c++, .cxx, .m or .mm extensions. For these files a guessing of "main" include takes place (to assign category 0, see above). This config option allows for additional suffixes and extensions for files to be considered as "main".
500
- By default, clang-format considers files as "main" only when they end with: .c, .cc, .cpp, .c++, .cxx, .m or .mm extensions. For these files a guessing of "main" include takes place (to assign category 0, see above). This config option allows for additional suffixes and extensions for files to be considered as "main".
498
+ Specify a regular expression for files being formatted that are allowed to be considered main in the file-to-main-include mapping.
499
+ By default, clang-format considers files as main only when they end with: .c, .cc, .cpp, .c++, .cxx, .m or .mm extensions. For these files a guessing of main include takes place (to assign category 0, see above). This config option allows for additional suffixes and extensions for files to be considered as main”.
500
+ By default, clang-format considers files as main only when they end with: .c, .cc, .cpp, .c++, .cxx, .m or .mm extensions. For these files a guessing of main include takes place (to assign category 0, see above). This config option allows for additional suffixes and extensions for files to be considered as main”.
501
501
  */
502
502
  IncludeIsMainSourceRegex?: string;
503
503
  /**
@@ -526,7 +526,7 @@ When false, use the same indentation level as for the switch statement. Switch s
526
526
 
527
527
  IndentExternBlockStyle is the type of indenting of extern blocks.
528
528
  */
529
- IndentExternBlock?: "AfterExternBlock" | "NoIndent" | "Indent";
529
+ IndentExternBlock?: "AfterExternBlock" | "NonIndent" | "Indent";
530
530
  /**
531
531
  * clang-format 10
532
532
 
@@ -568,7 +568,7 @@ When false, goto labels are flushed left.
568
568
  * clang-fomrat 15
569
569
  Insert braces after control statements (if, else, for, do, and while) in C++ unless the control statements are inside macro definitions or the braces would enclose preprocessor directives.
570
570
 
571
- Warning: Setting this option to true could lead to incorrect code formatting due to clang-format's lack of complete semantic information. As such, extra care should be taken to review code changes made by this option.
571
+ Warning: Setting this option to true could lead to incorrect code formatting due to clang-formats lack of complete semantic information. As such, extra care should be taken to review code changes made by this option.
572
572
  */
573
573
  InsertBraces?: boolean;
574
574
  /**
@@ -768,7 +768,7 @@ If Never, lays out Objective-C protocol conformance list items onto individual l
768
768
 
769
769
  The order in which the qualifiers appear. Order is an array that can contain any of the following.
770
770
 
771
- Note: it MUST contain 'type'. Items to the left of 'type' will be placed to the left of the type and aligned in the order supplied. Items to the right of 'type' will be placed to the right of the type and aligned in the order supplied.
771
+ Note: it MUST contain type’. Items to the left of type will be placed to the left of the type and aligned in the order supplied. Items to the right of type will be placed to the right of the type and aligned in the order supplied.
772
772
  */
773
773
  QualifierOrder?: ("const" | "inline" | "static" | "constexpr" | "volatile" | "restrict" | "type")[];
774
774
  /**
@@ -827,7 +827,7 @@ If Never, lays out Objective-C protocol conformance list items onto individual l
827
827
 
828
828
  WarningThis option will be renamed and expanded to support other styles.
829
829
 
830
- Setting this option to true could lead to incorrect code formatting due to clang-format's lack of complete semantic information. As such, extra care should be taken to review code changes made by this option.
830
+ Setting this option to true could lead to incorrect code formatting due to clang-formats lack of complete semantic information. As such, extra care should be taken to review code changes made by this option.
831
831
  */
832
832
  RemoveBracesLLVM?: boolean;
833
833
  /**
@@ -881,7 +881,7 @@ If Never, lays out Objective-C protocol conformance list items onto individual l
881
881
  /**
882
882
  * clang-format 4
883
883
 
884
- If true, a space will be inserted after the 'template' keyword.
884
+ If true, a space will be inserted after the template keyword.
885
885
  */
886
886
  SpaceAfterTemplateKeyword?: boolean;
887
887
  /**
package/package.json CHANGED
@@ -9,6 +9,6 @@
9
9
  "scripts": {},
10
10
  "typeScriptVersion": "2.2",
11
11
  "types": "index.d.ts",
12
- "typesPublisherContentHash": "fcf217ef83867d4fc6575ced08f7368c2250e27f68746305df7bcb2085c8bbad",
13
- "version": "0.0.6"
12
+ "typesPublisherContentHash": "7059cb1a5236593057c1d15912ae187e8030f5d9ffe137282bbd5ae7f2327ee4",
13
+ "version": "0.0.7"
14
14
  }