@schemastore/csscomb 0.0.8 → 0.0.10
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 +27 -55
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Type definitions for csscomb
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
npm i @schemastore/csscomb
|
|
7
|
+
yarn add @schemastore/csscomb
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
3
11
|
|
|
4
|
-
# Summary
|
|
5
12
|
This package contains type definitions for csscomb.
|
|
6
13
|
|
|
7
|
-
##
|
|
8
|
-
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import * as csscomb from '@schemastore/csscomb';
|
|
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/csscomb)
|
|
27
|
+
* Last updated: Sat, Jul 19, 2025, 17:01:20 GMT
|
|
12
28
|
* Dependencies: none
|
package/index.d.ts
CHANGED
|
@@ -5,133 +5,105 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
export interface
|
|
8
|
+
export interface JSONSchemaForCSSCombConfigurationFiles {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
10
|
+
* An array of files/globbing patterns to ignore
|
|
12
11
|
*/
|
|
13
12
|
exclude?: string[];
|
|
14
13
|
verbose?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Whether to add missing semicolon in the current project
|
|
17
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
18
|
-
*/
|
|
19
14
|
"always-semicolon"?: boolean;
|
|
20
15
|
/**
|
|
21
|
-
*
|
|
22
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
16
|
+
* Whether to add a semicolon after the last value/mixin.
|
|
23
17
|
*/
|
|
24
18
|
"block-indent"?: string;
|
|
25
19
|
/**
|
|
26
|
-
*
|
|
27
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
20
|
+
* Unify case of hexadecimal colors.
|
|
28
21
|
*/
|
|
29
22
|
"color-case"?: "lower" | "upper";
|
|
30
23
|
/**
|
|
31
|
-
* Whether to expand hexadecimal
|
|
32
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
24
|
+
* Whether to expand hexadecimal colors or use shorthands.
|
|
33
25
|
*/
|
|
34
26
|
"color-shorthand"?: boolean;
|
|
35
27
|
/**
|
|
36
|
-
*
|
|
37
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
28
|
+
* Unify case of element selectors.
|
|
38
29
|
*/
|
|
39
30
|
"element-case"?: "lower" | "upper";
|
|
40
31
|
/**
|
|
41
|
-
*
|
|
42
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
32
|
+
* Add/remove line break at EOF.
|
|
43
33
|
*/
|
|
44
34
|
"eof-newline"?: boolean;
|
|
45
35
|
/**
|
|
46
|
-
*
|
|
47
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
36
|
+
* Add/remove leading zero in dimensions.
|
|
48
37
|
*/
|
|
49
38
|
"leading-zero"?: boolean;
|
|
50
39
|
/**
|
|
51
|
-
*
|
|
52
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
40
|
+
* Unify quotes style.
|
|
53
41
|
*/
|
|
54
42
|
quotes?: "single" | "double";
|
|
55
43
|
/**
|
|
56
|
-
*
|
|
57
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
44
|
+
* Remove all rulesets that contain nothing but spaces.
|
|
58
45
|
*/
|
|
59
46
|
"remove-empty-rulesets"?: boolean;
|
|
60
47
|
/**
|
|
61
|
-
*
|
|
62
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
48
|
+
* Set space after `:` in declarations.
|
|
63
49
|
*/
|
|
64
50
|
"space-after-colon"?: string;
|
|
65
51
|
/**
|
|
66
|
-
*
|
|
67
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
52
|
+
* Set space after combinator (for example, in selectors like `p > a`).
|
|
68
53
|
*/
|
|
69
54
|
"space-after-combinator"?: string;
|
|
70
55
|
/**
|
|
71
|
-
*
|
|
72
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
56
|
+
* Set space after `{`.
|
|
73
57
|
*/
|
|
74
58
|
"space-after-opening-brace"?: string;
|
|
75
59
|
/**
|
|
76
|
-
*
|
|
77
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
60
|
+
* Set space after selector delimiter.
|
|
78
61
|
*/
|
|
79
62
|
"space-after-selector-delimiter"?: string;
|
|
80
63
|
/**
|
|
81
|
-
*
|
|
82
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
64
|
+
* Set space before `}`.
|
|
83
65
|
*/
|
|
84
66
|
"space-after-closing-brace"?: string;
|
|
85
67
|
/**
|
|
86
|
-
*
|
|
87
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
68
|
+
* Set space before `:` in declarations.
|
|
88
69
|
*/
|
|
89
70
|
"space-before-colon"?: string;
|
|
90
71
|
/**
|
|
91
|
-
*
|
|
92
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
72
|
+
* Set space before combinator (for example, in selectors like `p > a`).
|
|
93
73
|
*/
|
|
94
74
|
"space-before-combinator"?: string;
|
|
95
75
|
/**
|
|
96
|
-
*
|
|
97
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
76
|
+
* Set space before `{`.
|
|
98
77
|
*/
|
|
99
78
|
"space-before-opening-brace"?: string;
|
|
100
79
|
/**
|
|
101
|
-
*
|
|
102
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
80
|
+
* Set space before selector delimiter.
|
|
103
81
|
*/
|
|
104
82
|
"space-before-selector-delimiter"?: string;
|
|
105
83
|
/**
|
|
106
|
-
*
|
|
107
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
84
|
+
* Set space between declarations (i.e. `color: tomato`).
|
|
108
85
|
*/
|
|
109
86
|
"space-between-declarations"?: string;
|
|
110
87
|
/**
|
|
111
|
-
* Whether to trim trailing
|
|
112
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
88
|
+
* Whether to trim trailing spaces.
|
|
113
89
|
*/
|
|
114
90
|
"strip-spaces"?: boolean;
|
|
115
91
|
/**
|
|
116
|
-
* Whether to remove
|
|
117
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
92
|
+
* Whether to remove units in zero-valued dimensions.
|
|
118
93
|
*/
|
|
119
94
|
"unitless-zero"?: boolean;
|
|
120
95
|
/**
|
|
121
|
-
* Whether to align
|
|
122
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
96
|
+
* Whether to align prefixes in properties and values.
|
|
123
97
|
*/
|
|
124
98
|
"vendor-prefix-align"?: boolean;
|
|
125
99
|
/**
|
|
126
|
-
*
|
|
127
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
100
|
+
* Sort properties in particular order.
|
|
128
101
|
*/
|
|
129
102
|
"sort-order"?: string[][];
|
|
130
103
|
"tab-size"?: boolean;
|
|
131
104
|
/**
|
|
132
|
-
*
|
|
133
|
-
* https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
|
|
105
|
+
* Sort unknown properties alphabetically
|
|
134
106
|
*/
|
|
135
|
-
"sort-order-fallback"?:
|
|
136
|
-
[k: string]: unknown;
|
|
107
|
+
"sort-order-fallback"?: "abc";
|
|
108
|
+
[k: string]: unknown | undefined;
|
|
137
109
|
}
|
package/package.json
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"name": "@schemastore/csscomb",
|
|
8
8
|
"repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/csscomb",
|
|
9
9
|
"scripts": {},
|
|
10
|
-
"
|
|
10
|
+
"typeScriptVersion": "2.2",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
}
|
|
12
|
+
"typesPublisherContentHash": "b7e3c1b42ed441dfa999b06d1faa47d6e67b9dde2d581a6ba75d5f5532ed8318",
|
|
13
|
+
"version": "0.0.10"
|
|
14
|
+
}
|