@schemastore/csscomb 0.0.3 → 0.0.8

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 (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +2 -2
  3. package/index.d.ts +56 -28
  4. package/package.json +4 -4
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Florian Imdahl. All rights reserved.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
package/README.md CHANGED
@@ -5,8 +5,8 @@
5
5
  This package contains type definitions for csscomb.
6
6
 
7
7
  ## Details
8
- Files were exported from https://github.com/ffflorian/schemastore-updater/tree/master/schemas/csscomb.
8
+ Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/csscomb.
9
9
 
10
10
  ## Additional Details
11
- * Last updated: Thu, Jul 25, 2019, 17:59:05 GMT
11
+ * Last updated: Mon, Jan 23, 2023, 19:39:42 GMT
12
12
  * Dependencies: none
package/index.d.ts CHANGED
@@ -1,109 +1,137 @@
1
- /* tslint:disable */
1
+ /* eslint-disable */
2
2
  /**
3
3
  * This file was automatically generated by json-schema-to-typescript.
4
4
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
7
 
8
- export interface JSONSchemaForCSSCombConfigurationFiles {
8
+ export interface ACSSCombConfigSchema {
9
9
  /**
10
- * An array of files/globbing patterns to ignore
10
+ * A list of files to ignore in the current project
11
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
11
12
  */
12
13
  exclude?: string[];
13
14
  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
+ */
14
19
  "always-semicolon"?: boolean;
15
20
  /**
16
- * Whether to add a semicolon after the last value/mixin.
21
+ * A block indent style in the current project
22
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
17
23
  */
18
24
  "block-indent"?: string;
19
25
  /**
20
- * Unify case of hexadecimal colors.
26
+ * A hexadecimal color style in the current project
27
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
21
28
  */
22
29
  "color-case"?: "lower" | "upper";
23
30
  /**
24
- * Whether to expand hexadecimal colors or use shorthands.
31
+ * Whether to expand hexadecimal color or use shorthand in the current project
32
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
25
33
  */
26
34
  "color-shorthand"?: boolean;
27
35
  /**
28
- * Unify case of element selectors.
36
+ * Whether to unify case of element selector in the current project
37
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
29
38
  */
30
39
  "element-case"?: "lower" | "upper";
31
40
  /**
32
- * Add/remove line break at EOF.
41
+ * Whether to add a trailing line break in the current project
42
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
33
43
  */
34
44
  "eof-newline"?: boolean;
35
45
  /**
36
- * Add/remove leading zero in dimensions.
46
+ * Whether to add leading zero in a dimension in the current project
47
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
37
48
  */
38
49
  "leading-zero"?: boolean;
39
50
  /**
40
- * Unify quotes style.
51
+ * A quote style in the current project
52
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
41
53
  */
42
54
  quotes?: "single" | "double";
43
55
  /**
44
- * Remove all rulesets that contain nothing but spaces.
56
+ * Whether to remove empty rulesets
57
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
45
58
  */
46
59
  "remove-empty-rulesets"?: boolean;
47
60
  /**
48
- * Set space after `:` in declarations.
61
+ * A space style after a colon in the current project
62
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
49
63
  */
50
64
  "space-after-colon"?: string;
51
65
  /**
52
- * Set space after combinator (for example, in selectors like `p > a`).
66
+ * A space style after a combinator in the current project
67
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
53
68
  */
54
69
  "space-after-combinator"?: string;
55
70
  /**
56
- * Set space after `{`.
71
+ * A space style after an opening brace in the current project
72
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
57
73
  */
58
74
  "space-after-opening-brace"?: string;
59
75
  /**
60
- * Set space after selector delimiter.
76
+ * A space style after a selector delimiter in the current project
77
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
61
78
  */
62
79
  "space-after-selector-delimiter"?: string;
63
80
  /**
64
- * Set space before `}`.
81
+ * A space style after a closing brace in the current project
82
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
65
83
  */
66
84
  "space-after-closing-brace"?: string;
67
85
  /**
68
- * Set space before `:` in declarations.
86
+ * A space style before a colon in the current project
87
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
69
88
  */
70
89
  "space-before-colon"?: string;
71
90
  /**
72
- * Set space before combinator (for example, in selectors like `p > a`).
91
+ * A space style before a combinator in the current project
92
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
73
93
  */
74
94
  "space-before-combinator"?: string;
75
95
  /**
76
- * Set space before `{`.
96
+ * A space style before an opening brace in the current project
97
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
77
98
  */
78
99
  "space-before-opening-brace"?: string;
79
100
  /**
80
- * Set space before selector delimiter.
101
+ * A space style before a selector delimiter in the current project
102
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
81
103
  */
82
104
  "space-before-selector-delimiter"?: string;
83
105
  /**
84
- * Set space between declarations (i.e. `color: tomato`).
106
+ * A space style between declarations in the current project
107
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
85
108
  */
86
109
  "space-between-declarations"?: string;
87
110
  /**
88
- * Whether to trim trailing spaces.
111
+ * Whether to trim trailing space in the current project
112
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
89
113
  */
90
114
  "strip-spaces"?: boolean;
91
115
  /**
92
- * Whether to remove units in zero-valued dimensions.
116
+ * Whether to remove unit in zero-valued dimension in the current project
117
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
93
118
  */
94
119
  "unitless-zero"?: boolean;
95
120
  /**
96
- * Whether to align prefixes in properties and values.
121
+ * Whether to align prefix in property and value in the current project
122
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
97
123
  */
98
124
  "vendor-prefix-align"?: boolean;
99
125
  /**
100
- * Sort properties in particular order.
126
+ * A sort order in the current project
127
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
101
128
  */
102
129
  "sort-order"?: string[][];
103
130
  "tab-size"?: boolean;
104
131
  /**
105
- * Sort unknown properties alphabetically
132
+ * A sort style of unknown properties in the current project
133
+ * https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
106
134
  */
107
- "sort-order-fallback"?: "abc";
108
- [k: string]: any;
135
+ "sort-order-fallback"?: string;
136
+ [k: string]: unknown;
109
137
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
- "author": "Florian Keller <github@floriankeller.de>",
2
+ "author": "Florian Imdahl <git@ffflorian.de>",
3
3
  "dependencies": {},
4
4
  "description": "TypeScript definitions for csscomb.",
5
5
  "license": "MIT",
6
6
  "main": "index.d.ts",
7
7
  "name": "@schemastore/csscomb",
8
- "repository": "https://github.com/ffflorian/schemastore-updater/tree/master/schemas/csscomb",
8
+ "repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/csscomb",
9
9
  "scripts": {},
10
- "typesPublisherContentHash": "0bbd4d8c761c47a1e2047c18e36db88d911d62f73a628561682b991700e57408",
10
+ "typesPublisherContentHash": "e56ea33797097d324156cd5831541ecc8fc0cdac171f46309db0f022ecca25b0",
11
11
  "types": "index.d.ts",
12
- "version": "0.0.3",
12
+ "version": "0.0.8",
13
13
  "typeScriptVersion": "2.2"
14
14
  }