@schemastore/clang-format 0.0.5 → 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.
- package/README.md +22 -6
- package/index.d.ts +7 -7
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Type definitions for clang-format
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
npm i @schemastore/clang-format
|
|
7
|
+
yarn add @schemastore/clang-format
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
3
11
|
|
|
4
|
-
# Summary
|
|
5
12
|
This package contains type definitions for clang-format.
|
|
6
13
|
|
|
7
|
-
##
|
|
8
|
-
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import * as clang_format from '@schemastore/clang-format';
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Note
|
|
21
|
+
|
|
22
|
+
The definitions were auto-generated by [schemastore-updater](https://github.com/ffflorian/schemastore-updater) using [`json-schema-to-typescript`](https://www.npmjs.com/package/json-schema-to-typescript).
|
|
9
23
|
|
|
10
24
|
## Additional Details
|
|
11
|
-
|
|
25
|
+
|
|
26
|
+
* [Schema source](https://github.com/SchemaStore/schemastore/tree/master/src/schemas/json/clang-format)
|
|
27
|
+
* Last updated: Sat, Jul 19, 2025, 17:01:19 GMT
|
|
12
28
|
* Dependencies: none
|
package/index.d.ts
CHANGED
|
@@ -301,7 +301,7 @@ export interface ClangFormatConfig {
|
|
|
301
301
|
* bool SplitEmptyNamespace If false, empty namespace body can be put on a single line. This option is used only if the opening brace of the namespace has already been wrapped, i.e. the AfterNamespace brace wrapping mode is set.
|
|
302
302
|
*/
|
|
303
303
|
SplitEmptyNamespace?: boolean;
|
|
304
|
-
[k: string]: unknown;
|
|
304
|
+
[k: string]: unknown | undefined;
|
|
305
305
|
};
|
|
306
306
|
/**
|
|
307
307
|
* clang-format 3.8
|
|
@@ -482,7 +482,7 @@ export interface ClangFormatConfig {
|
|
|
482
482
|
Priority: number;
|
|
483
483
|
SortPriority?: number;
|
|
484
484
|
CaseSensitive?: boolean;
|
|
485
|
-
[k: string]: unknown;
|
|
485
|
+
[k: string]: unknown | undefined;
|
|
486
486
|
}[];
|
|
487
487
|
/**
|
|
488
488
|
* clang-format 7
|
|
@@ -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" | "
|
|
529
|
+
IndentExternBlock?: "AfterExternBlock" | "NonIndent" | "Indent";
|
|
530
530
|
/**
|
|
531
531
|
* clang-format 10
|
|
532
532
|
|
|
@@ -806,7 +806,7 @@ If Never, lays out Objective-C protocol conformance list items onto individual l
|
|
|
806
806
|
| "gnu"
|
|
807
807
|
| "inheritparentconfig";
|
|
808
808
|
EnclosingFunctions?: string[];
|
|
809
|
-
[k: string]: unknown;
|
|
809
|
+
[k: string]: unknown | undefined;
|
|
810
810
|
}[];
|
|
811
811
|
/**
|
|
812
812
|
* clang-format 13
|
|
@@ -976,7 +976,7 @@ If Never, lays out Objective-C protocol conformance list items onto individual l
|
|
|
976
976
|
* bool BeforeNonEmptyParentheses If true, put a space before opening parentheses only if the parentheses are not empty.
|
|
977
977
|
*/
|
|
978
978
|
BeforeNonEmptyParentheses?: boolean;
|
|
979
|
-
[k: string]: unknown;
|
|
979
|
+
[k: string]: unknown | undefined;
|
|
980
980
|
};
|
|
981
981
|
/**
|
|
982
982
|
* clang-format 7
|
|
@@ -1042,7 +1042,7 @@ This does not affect trailing block comments (/* - comments) as those commonly h
|
|
|
1042
1042
|
SpacesInLineCommentPrefix?: {
|
|
1043
1043
|
Minimum?: number;
|
|
1044
1044
|
Maximum?: number;
|
|
1045
|
-
[k: string]: unknown;
|
|
1045
|
+
[k: string]: unknown | undefined;
|
|
1046
1046
|
};
|
|
1047
1047
|
/**
|
|
1048
1048
|
* clang-format 3.7
|
|
@@ -1112,5 +1112,5 @@ For example: OpenSSL STACK_OF, BSD LIST_ENTRY.
|
|
|
1112
1112
|
For example: BOOST_PP_STRINGIZE
|
|
1113
1113
|
*/
|
|
1114
1114
|
WhitespaceSensitiveMacros?: string[];
|
|
1115
|
-
[k: string]: unknown;
|
|
1115
|
+
[k: string]: unknown | undefined;
|
|
1116
1116
|
}
|
package/package.json
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"name": "@schemastore/clang-format",
|
|
8
8
|
"repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/clang-format",
|
|
9
9
|
"scripts": {},
|
|
10
|
-
"
|
|
10
|
+
"typeScriptVersion": "2.2",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
}
|
|
12
|
+
"typesPublisherContentHash": "7059cb1a5236593057c1d15912ae187e8030f5d9ffe137282bbd5ae7f2327ee4",
|
|
13
|
+
"version": "0.0.7"
|
|
14
|
+
}
|