@schemastore/csscomb 0.0.4 → 0.0.9

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 +1 -1
  2. package/README.md +22 -6
  3. package/index.d.ts +56 -28
  4. package/package.json +5 -5
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) Florian Keller. All rights reserved.
3
+ Copyright (c) Florian Imdahl. All rights reserved.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,12 +1,28 @@
1
- # Installation
2
- > `npm install --save @schemastore/csscomb`
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
- ## Details
8
- Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/csscomb.
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
- * Last updated: Sat, Jul 04, 2020, 11:00:14 GMT
25
+
26
+ * [Schema source](https://github.com/SchemaStore/schemastore/tree/master/src/schemas/json/csscomb)
27
+ * Last updated: Fri, Jun 30, 2023, 21:03:59 GMT
12
28
  * 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]: unknown;
135
+ "sort-order-fallback"?: string;
136
+ [k: string]: unknown | undefined;
109
137
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
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",
@@ -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
- "typesPublisherContentHash": "0bbd4d8c761c47a1e2047c18e36db88d911d62f73a628561682b991700e57408",
10
+ "typeScriptVersion": "2.2",
11
11
  "types": "index.d.ts",
12
- "version": "0.0.4",
13
- "typeScriptVersion": "2.2"
14
- }
12
+ "typesPublisherContentHash": "914d9e014b1552b47759bf71895328a42dc2e964b187b38ddeecd18daeb0ef0f",
13
+ "version": "0.0.9"
14
+ }