Skip to content

Commit b9590ac

Browse files
committed
feat: add link in schema
1 parent e196cc3 commit b9590ac

File tree

1 file changed

+40
-20
lines changed

1 file changed

+40
-20
lines changed

src/options.json

Lines changed: 40 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"additionalProperties": false,
44
"properties": {
55
"url": {
6-
"description": "Allows to enables/disables `url()`/`image-set()` functions handling (https://github.com/webpack-contrib/css-loader#url).",
6+
"description": "Allows to enables/disables `url()`/`image-set()` functions handling.",
7+
"link": "https://github.com/webpack-contrib/css-loader#url",
78
"anyOf": [
89
{
910
"type": "boolean"
@@ -20,7 +21,8 @@
2021
]
2122
},
2223
"import": {
23-
"description": "Allows to enables/disables `@import` at-rules handling (https://github.com/webpack-contrib/css-loader#import).",
24+
"description": "Allows to enables/disables `@import` at-rules handling.",
25+
"link": "https://github.com/webpack-contrib/css-loader#import",
2426
"anyOf": [
2527
{
2628
"type": "boolean"
@@ -37,7 +39,8 @@
3739
]
3840
},
3941
"modules": {
40-
"description": "Allows to enable/disable CSS Modules or ICSS and setup configuration (https://github.com/webpack-contrib/css-loader#modules).",
42+
"description": "Allows to enable/disable CSS Modules or ICSS and setup configuration.",
43+
"link": "https://github.com/webpack-contrib/css-loader#modules",
4144
"anyOf": [
4245
{
4346
"type": "boolean"
@@ -50,7 +53,8 @@
5053
"additionalProperties": false,
5154
"properties": {
5255
"auto": {
53-
"description": "Allows auto enable CSS modules based on filename (https://github.com/webpack-contrib/css-loader#auto).",
56+
"description": "Allows auto enable CSS modules based on filename.",
57+
"link": "https://github.com/webpack-contrib/css-loader#auto",
5458
"anyOf": [
5559
{
5660
"instanceof": "RegExp"
@@ -64,7 +68,8 @@
6468
]
6569
},
6670
"mode": {
67-
"description": "Setup `mode` option (https://github.com/webpack-contrib/css-loader#mode).",
71+
"description": "Setup `mode` option.",
72+
"link": "https://github.com/webpack-contrib/css-loader#mode",
6873
"anyOf": [
6974
{
7075
"enum": ["local", "global", "pure", "icss"]
@@ -75,36 +80,43 @@
7580
]
7681
},
7782
"localIdentName": {
78-
"description": "Allows to configure the generated local ident name (https://github.com/webpack-contrib/css-loader#localidentname).",
83+
"description": "Allows to configure the generated local ident name.",
84+
"link": "https://github.com/webpack-contrib/css-loader#localidentname",
7985
"type": "string",
8086
"minLength": 1
8187
},
8288
"localIdentContext": {
83-
"description": "Allows to redefine basic loader context for local ident name (https://github.com/webpack-contrib/css-loader#localidentcontext).",
89+
"description": "Allows to redefine basic loader context for local ident name.",
90+
"link": "https://github.com/webpack-contrib/css-loader#localidentcontext",
8491
"type": "string",
8592
"minLength": 1
8693
},
8794
"localIdentHashSalt": {
88-
"description": "Allows to add custom hash to generate more unique classes (https://github.com/webpack-contrib/css-loader#localidenthashsalt).",
95+
"description": "Allows to add custom hash to generate more unique classes.",
96+
"link": "https://github.com/webpack-contrib/css-loader#localidenthashsalt",
8997
"type": "string",
9098
"minLength": 1
9199
},
92100
"localIdentHashFunction": {
93-
"description": "Allows to specify hash function to generate classes (https://github.com/webpack-contrib/css-loader#localidenthashfunction).",
101+
"description": "Allows to specify hash function to generate classes.",
102+
"link": "https://github.com/webpack-contrib/css-loader#localidenthashfunction",
94103
"type": "string",
95104
"minLength": 1
96105
},
97106
"localIdentHashDigest": {
98-
"description": "Allows to specify hash digest to generate classes (https://github.com/webpack-contrib/css-loader#localidenthashdigest).",
107+
"description": "Allows to specify hash digest to generate classes.",
108+
"link": "https://github.com/webpack-contrib/css-loader#localidenthashdigest",
99109
"type": "string",
100110
"minLength": 1
101111
},
102112
"localIdentHashDigestLength": {
103-
"description": "Allows to specify hash digest length to generate classes (https://github.com/webpack-contrib/css-loader#localidenthashdigestlength).",
113+
"description": "Allows to specify hash digest length to generate classes.",
114+
"link": "https://github.com/webpack-contrib/css-loader#localidenthashdigestlength",
104115
"type": "number"
105116
},
106117
"localIdentRegExp": {
107-
"description": "Allows to specify custom RegExp for local ident name (https://github.com/webpack-contrib/css-loader#localidentregexp).",
118+
"description": "Allows to specify custom RegExp for local ident name.",
119+
"link": "https://github.com/webpack-contrib/css-loader#localidentregexp",
108120
"anyOf": [
109121
{
110122
"type": "string",
@@ -116,19 +128,23 @@
116128
]
117129
},
118130
"getLocalIdent": {
119-
"description": "Allows to specify a function to generate the classname (https://github.com/webpack-contrib/css-loader#getlocalident).",
131+
"description": "Allows to specify a function to generate the classname.",
132+
"link": "https://github.com/webpack-contrib/css-loader#getlocalident",
120133
"instanceof": "Function"
121134
},
122135
"namedExport": {
123-
"description": "Enables/disables ES modules named export for locals (https://github.com/webpack-contrib/css-loader#namedexport).",
136+
"description": "Enables/disables ES modules named export for locals.",
137+
"link": "https://github.com/webpack-contrib/css-loader#namedexport",
124138
"type": "boolean"
125139
},
126140
"exportGlobals": {
127-
"description": "Allows to export names from global class or id, so you can use that as local name (https://github.com/webpack-contrib/css-loader#exportglobals).",
141+
"description": "Allows to export names from global class or id, so you can use that as local name.",
142+
"link": "https://github.com/webpack-contrib/css-loader#exportglobals",
128143
"type": "boolean"
129144
},
130145
"exportLocalsConvention": {
131-
"description": "Style of exported classnames (https://github.com/webpack-contrib/css-loader#localsconvention).",
146+
"description": "Style of exported classnames.",
147+
"link": "https://github.com/webpack-contrib/css-loader#localsconvention",
132148
"enum": [
133149
"asIs",
134150
"camelCase",
@@ -138,19 +154,22 @@
138154
]
139155
},
140156
"exportOnlyLocals": {
141-
"description": "Export only locals (https://github.com/webpack-contrib/css-loader#exportonlylocals).",
157+
"description": "Export only locals.",
158+
"link": "https://github.com/webpack-contrib/css-loader#exportonlylocals",
142159
"type": "boolean"
143160
}
144161
}
145162
}
146163
]
147164
},
148165
"sourceMap": {
149-
"description": "Allows to enable/disable source maps (https://github.com/webpack-contrib/css-loader#sourcemap).",
166+
"description": "Allows to enable/disable source maps.",
167+
"link": "https://github.com/webpack-contrib/css-loader#sourcemap",
150168
"type": "boolean"
151169
},
152170
"importLoaders": {
153-
"description": "Allows enables/disables or setups number of loaders applied before CSS loader for `@import`/CSS Modules and ICSS imports (https://github.com/webpack-contrib/css-loader#importloaders).",
171+
"description": "Allows enables/disables or setups number of loaders applied before CSS loader for `@import`/CSS Modules and ICSS imports.",
172+
"link": "https://github.com/webpack-contrib/css-loader#importloaders",
154173
"anyOf": [
155174
{
156175
"type": "boolean"
@@ -164,7 +183,8 @@
164183
]
165184
},
166185
"esModule": {
167-
"description": "Use the ES modules syntax (https://github.com/webpack-contrib/css-loader#esmodule).",
186+
"description": "Use the ES modules syntax.",
187+
"link": "https://github.com/webpack-contrib/css-loader#esmodule",
168188
"type": "boolean"
169189
}
170190
},

0 commit comments

Comments
 (0)