@rhyster/eslint-config 1.6.21 → 1.6.23
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/dist/eslint.config.d.ts +22 -0
- package/dist/eslint.config.d.ts.map +1 -1
- package/dist/index.cjs +23 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +88 -0
- package/dist/index.d.mts +88 -0
- package/dist/index.d.ts +88 -0
- package/dist/index.mjs +23 -1
- package/dist/index.mjs.map +1 -1
- package/dist/src/index.d.ts +88 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/rules/airbnb/style.d.ts +22 -0
- package/dist/src/rules/airbnb/style.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/rules/airbnb/style.ts +22 -0
package/dist/index.d.cts
CHANGED
|
@@ -342,6 +342,27 @@ declare const core: ({
|
|
|
342
342
|
ObjectPattern: boolean;
|
|
343
343
|
VariableDeclaration: boolean;
|
|
344
344
|
NewExpression: boolean;
|
|
345
|
+
ExportAllDeclaration: boolean;
|
|
346
|
+
ExportNamedDeclaration: boolean;
|
|
347
|
+
ImportExpression: boolean;
|
|
348
|
+
SequenceExpression: boolean;
|
|
349
|
+
ClassDeclaration: boolean;
|
|
350
|
+
ClassExpression: boolean;
|
|
351
|
+
TSDeclareFunction: boolean;
|
|
352
|
+
TSFunctionType: boolean;
|
|
353
|
+
TSConstructorType: boolean;
|
|
354
|
+
TSEmptyBodyFunctionExpression: boolean;
|
|
355
|
+
TSMethodSignature: boolean;
|
|
356
|
+
TSCallSignatureDeclaration: boolean;
|
|
357
|
+
TSConstructSignatureDeclaration: boolean;
|
|
358
|
+
TSEnumBody: boolean;
|
|
359
|
+
TSTypeLiteral: boolean;
|
|
360
|
+
TSInterfaceBody: boolean;
|
|
361
|
+
TSIndexSignature: boolean;
|
|
362
|
+
TSInterfaceDeclaration: boolean;
|
|
363
|
+
TSTupleType: boolean;
|
|
364
|
+
TSTypeParameterDeclaration: boolean;
|
|
365
|
+
TSTypeParameterInstantiation: boolean;
|
|
345
366
|
};
|
|
346
367
|
}];
|
|
347
368
|
'@stylistic/computed-property-spacing': ["error", string];
|
|
@@ -381,6 +402,7 @@ declare const core: ({
|
|
|
381
402
|
flatTernaryExpressions: boolean;
|
|
382
403
|
ignoreComments: boolean;
|
|
383
404
|
}];
|
|
405
|
+
'@stylistic/indent-binary-ops': ["error", number];
|
|
384
406
|
'@stylistic/jsx-quotes': ["off", string];
|
|
385
407
|
'@stylistic/key-spacing': ["error", {
|
|
386
408
|
beforeColon: boolean;
|
|
@@ -1192,6 +1214,27 @@ declare const node: [...({
|
|
|
1192
1214
|
ObjectPattern: boolean;
|
|
1193
1215
|
VariableDeclaration: boolean;
|
|
1194
1216
|
NewExpression: boolean;
|
|
1217
|
+
ExportAllDeclaration: boolean;
|
|
1218
|
+
ExportNamedDeclaration: boolean;
|
|
1219
|
+
ImportExpression: boolean;
|
|
1220
|
+
SequenceExpression: boolean;
|
|
1221
|
+
ClassDeclaration: boolean;
|
|
1222
|
+
ClassExpression: boolean;
|
|
1223
|
+
TSDeclareFunction: boolean;
|
|
1224
|
+
TSFunctionType: boolean;
|
|
1225
|
+
TSConstructorType: boolean;
|
|
1226
|
+
TSEmptyBodyFunctionExpression: boolean;
|
|
1227
|
+
TSMethodSignature: boolean;
|
|
1228
|
+
TSCallSignatureDeclaration: boolean;
|
|
1229
|
+
TSConstructSignatureDeclaration: boolean;
|
|
1230
|
+
TSEnumBody: boolean;
|
|
1231
|
+
TSTypeLiteral: boolean;
|
|
1232
|
+
TSInterfaceBody: boolean;
|
|
1233
|
+
TSIndexSignature: boolean;
|
|
1234
|
+
TSInterfaceDeclaration: boolean;
|
|
1235
|
+
TSTupleType: boolean;
|
|
1236
|
+
TSTypeParameterDeclaration: boolean;
|
|
1237
|
+
TSTypeParameterInstantiation: boolean;
|
|
1195
1238
|
};
|
|
1196
1239
|
}];
|
|
1197
1240
|
'@stylistic/computed-property-spacing': ["error", string];
|
|
@@ -1231,6 +1274,7 @@ declare const node: [...({
|
|
|
1231
1274
|
flatTernaryExpressions: boolean;
|
|
1232
1275
|
ignoreComments: boolean;
|
|
1233
1276
|
}];
|
|
1277
|
+
'@stylistic/indent-binary-ops': ["error", number];
|
|
1234
1278
|
'@stylistic/jsx-quotes': ["off", string];
|
|
1235
1279
|
'@stylistic/key-spacing': ["error", {
|
|
1236
1280
|
beforeColon: boolean;
|
|
@@ -2145,6 +2189,27 @@ declare const browser: [...({
|
|
|
2145
2189
|
ObjectPattern: boolean;
|
|
2146
2190
|
VariableDeclaration: boolean;
|
|
2147
2191
|
NewExpression: boolean;
|
|
2192
|
+
ExportAllDeclaration: boolean;
|
|
2193
|
+
ExportNamedDeclaration: boolean;
|
|
2194
|
+
ImportExpression: boolean;
|
|
2195
|
+
SequenceExpression: boolean;
|
|
2196
|
+
ClassDeclaration: boolean;
|
|
2197
|
+
ClassExpression: boolean;
|
|
2198
|
+
TSDeclareFunction: boolean;
|
|
2199
|
+
TSFunctionType: boolean;
|
|
2200
|
+
TSConstructorType: boolean;
|
|
2201
|
+
TSEmptyBodyFunctionExpression: boolean;
|
|
2202
|
+
TSMethodSignature: boolean;
|
|
2203
|
+
TSCallSignatureDeclaration: boolean;
|
|
2204
|
+
TSConstructSignatureDeclaration: boolean;
|
|
2205
|
+
TSEnumBody: boolean;
|
|
2206
|
+
TSTypeLiteral: boolean;
|
|
2207
|
+
TSInterfaceBody: boolean;
|
|
2208
|
+
TSIndexSignature: boolean;
|
|
2209
|
+
TSInterfaceDeclaration: boolean;
|
|
2210
|
+
TSTupleType: boolean;
|
|
2211
|
+
TSTypeParameterDeclaration: boolean;
|
|
2212
|
+
TSTypeParameterInstantiation: boolean;
|
|
2148
2213
|
};
|
|
2149
2214
|
}];
|
|
2150
2215
|
'@stylistic/computed-property-spacing': ["error", string];
|
|
@@ -2184,6 +2249,7 @@ declare const browser: [...({
|
|
|
2184
2249
|
flatTernaryExpressions: boolean;
|
|
2185
2250
|
ignoreComments: boolean;
|
|
2186
2251
|
}];
|
|
2252
|
+
'@stylistic/indent-binary-ops': ["error", number];
|
|
2187
2253
|
'@stylistic/jsx-quotes': ["off", string];
|
|
2188
2254
|
'@stylistic/key-spacing': ["error", {
|
|
2189
2255
|
beforeColon: boolean;
|
|
@@ -4130,6 +4196,27 @@ declare const vue: ({
|
|
|
4130
4196
|
ObjectPattern: boolean;
|
|
4131
4197
|
VariableDeclaration: boolean;
|
|
4132
4198
|
NewExpression: boolean;
|
|
4199
|
+
ExportAllDeclaration: boolean;
|
|
4200
|
+
ExportNamedDeclaration: boolean;
|
|
4201
|
+
ImportExpression: boolean;
|
|
4202
|
+
SequenceExpression: boolean;
|
|
4203
|
+
ClassDeclaration: boolean;
|
|
4204
|
+
ClassExpression: boolean;
|
|
4205
|
+
TSDeclareFunction: boolean;
|
|
4206
|
+
TSFunctionType: boolean;
|
|
4207
|
+
TSConstructorType: boolean;
|
|
4208
|
+
TSEmptyBodyFunctionExpression: boolean;
|
|
4209
|
+
TSMethodSignature: boolean;
|
|
4210
|
+
TSCallSignatureDeclaration: boolean;
|
|
4211
|
+
TSConstructSignatureDeclaration: boolean;
|
|
4212
|
+
TSEnumBody: boolean;
|
|
4213
|
+
TSTypeLiteral: boolean;
|
|
4214
|
+
TSInterfaceBody: boolean;
|
|
4215
|
+
TSIndexSignature: boolean;
|
|
4216
|
+
TSInterfaceDeclaration: boolean;
|
|
4217
|
+
TSTupleType: boolean;
|
|
4218
|
+
TSTypeParameterDeclaration: boolean;
|
|
4219
|
+
TSTypeParameterInstantiation: boolean;
|
|
4133
4220
|
};
|
|
4134
4221
|
}];
|
|
4135
4222
|
'@stylistic/computed-property-spacing': ["error", string];
|
|
@@ -4169,6 +4256,7 @@ declare const vue: ({
|
|
|
4169
4256
|
flatTernaryExpressions: boolean;
|
|
4170
4257
|
ignoreComments: boolean;
|
|
4171
4258
|
}];
|
|
4259
|
+
'@stylistic/indent-binary-ops': ["error", number];
|
|
4172
4260
|
'@stylistic/jsx-quotes': ["off", string];
|
|
4173
4261
|
'@stylistic/key-spacing': ["error", {
|
|
4174
4262
|
beforeColon: boolean;
|
package/dist/index.d.mts
CHANGED
|
@@ -342,6 +342,27 @@ declare const core: ({
|
|
|
342
342
|
ObjectPattern: boolean;
|
|
343
343
|
VariableDeclaration: boolean;
|
|
344
344
|
NewExpression: boolean;
|
|
345
|
+
ExportAllDeclaration: boolean;
|
|
346
|
+
ExportNamedDeclaration: boolean;
|
|
347
|
+
ImportExpression: boolean;
|
|
348
|
+
SequenceExpression: boolean;
|
|
349
|
+
ClassDeclaration: boolean;
|
|
350
|
+
ClassExpression: boolean;
|
|
351
|
+
TSDeclareFunction: boolean;
|
|
352
|
+
TSFunctionType: boolean;
|
|
353
|
+
TSConstructorType: boolean;
|
|
354
|
+
TSEmptyBodyFunctionExpression: boolean;
|
|
355
|
+
TSMethodSignature: boolean;
|
|
356
|
+
TSCallSignatureDeclaration: boolean;
|
|
357
|
+
TSConstructSignatureDeclaration: boolean;
|
|
358
|
+
TSEnumBody: boolean;
|
|
359
|
+
TSTypeLiteral: boolean;
|
|
360
|
+
TSInterfaceBody: boolean;
|
|
361
|
+
TSIndexSignature: boolean;
|
|
362
|
+
TSInterfaceDeclaration: boolean;
|
|
363
|
+
TSTupleType: boolean;
|
|
364
|
+
TSTypeParameterDeclaration: boolean;
|
|
365
|
+
TSTypeParameterInstantiation: boolean;
|
|
345
366
|
};
|
|
346
367
|
}];
|
|
347
368
|
'@stylistic/computed-property-spacing': ["error", string];
|
|
@@ -381,6 +402,7 @@ declare const core: ({
|
|
|
381
402
|
flatTernaryExpressions: boolean;
|
|
382
403
|
ignoreComments: boolean;
|
|
383
404
|
}];
|
|
405
|
+
'@stylistic/indent-binary-ops': ["error", number];
|
|
384
406
|
'@stylistic/jsx-quotes': ["off", string];
|
|
385
407
|
'@stylistic/key-spacing': ["error", {
|
|
386
408
|
beforeColon: boolean;
|
|
@@ -1192,6 +1214,27 @@ declare const node: [...({
|
|
|
1192
1214
|
ObjectPattern: boolean;
|
|
1193
1215
|
VariableDeclaration: boolean;
|
|
1194
1216
|
NewExpression: boolean;
|
|
1217
|
+
ExportAllDeclaration: boolean;
|
|
1218
|
+
ExportNamedDeclaration: boolean;
|
|
1219
|
+
ImportExpression: boolean;
|
|
1220
|
+
SequenceExpression: boolean;
|
|
1221
|
+
ClassDeclaration: boolean;
|
|
1222
|
+
ClassExpression: boolean;
|
|
1223
|
+
TSDeclareFunction: boolean;
|
|
1224
|
+
TSFunctionType: boolean;
|
|
1225
|
+
TSConstructorType: boolean;
|
|
1226
|
+
TSEmptyBodyFunctionExpression: boolean;
|
|
1227
|
+
TSMethodSignature: boolean;
|
|
1228
|
+
TSCallSignatureDeclaration: boolean;
|
|
1229
|
+
TSConstructSignatureDeclaration: boolean;
|
|
1230
|
+
TSEnumBody: boolean;
|
|
1231
|
+
TSTypeLiteral: boolean;
|
|
1232
|
+
TSInterfaceBody: boolean;
|
|
1233
|
+
TSIndexSignature: boolean;
|
|
1234
|
+
TSInterfaceDeclaration: boolean;
|
|
1235
|
+
TSTupleType: boolean;
|
|
1236
|
+
TSTypeParameterDeclaration: boolean;
|
|
1237
|
+
TSTypeParameterInstantiation: boolean;
|
|
1195
1238
|
};
|
|
1196
1239
|
}];
|
|
1197
1240
|
'@stylistic/computed-property-spacing': ["error", string];
|
|
@@ -1231,6 +1274,7 @@ declare const node: [...({
|
|
|
1231
1274
|
flatTernaryExpressions: boolean;
|
|
1232
1275
|
ignoreComments: boolean;
|
|
1233
1276
|
}];
|
|
1277
|
+
'@stylistic/indent-binary-ops': ["error", number];
|
|
1234
1278
|
'@stylistic/jsx-quotes': ["off", string];
|
|
1235
1279
|
'@stylistic/key-spacing': ["error", {
|
|
1236
1280
|
beforeColon: boolean;
|
|
@@ -2145,6 +2189,27 @@ declare const browser: [...({
|
|
|
2145
2189
|
ObjectPattern: boolean;
|
|
2146
2190
|
VariableDeclaration: boolean;
|
|
2147
2191
|
NewExpression: boolean;
|
|
2192
|
+
ExportAllDeclaration: boolean;
|
|
2193
|
+
ExportNamedDeclaration: boolean;
|
|
2194
|
+
ImportExpression: boolean;
|
|
2195
|
+
SequenceExpression: boolean;
|
|
2196
|
+
ClassDeclaration: boolean;
|
|
2197
|
+
ClassExpression: boolean;
|
|
2198
|
+
TSDeclareFunction: boolean;
|
|
2199
|
+
TSFunctionType: boolean;
|
|
2200
|
+
TSConstructorType: boolean;
|
|
2201
|
+
TSEmptyBodyFunctionExpression: boolean;
|
|
2202
|
+
TSMethodSignature: boolean;
|
|
2203
|
+
TSCallSignatureDeclaration: boolean;
|
|
2204
|
+
TSConstructSignatureDeclaration: boolean;
|
|
2205
|
+
TSEnumBody: boolean;
|
|
2206
|
+
TSTypeLiteral: boolean;
|
|
2207
|
+
TSInterfaceBody: boolean;
|
|
2208
|
+
TSIndexSignature: boolean;
|
|
2209
|
+
TSInterfaceDeclaration: boolean;
|
|
2210
|
+
TSTupleType: boolean;
|
|
2211
|
+
TSTypeParameterDeclaration: boolean;
|
|
2212
|
+
TSTypeParameterInstantiation: boolean;
|
|
2148
2213
|
};
|
|
2149
2214
|
}];
|
|
2150
2215
|
'@stylistic/computed-property-spacing': ["error", string];
|
|
@@ -2184,6 +2249,7 @@ declare const browser: [...({
|
|
|
2184
2249
|
flatTernaryExpressions: boolean;
|
|
2185
2250
|
ignoreComments: boolean;
|
|
2186
2251
|
}];
|
|
2252
|
+
'@stylistic/indent-binary-ops': ["error", number];
|
|
2187
2253
|
'@stylistic/jsx-quotes': ["off", string];
|
|
2188
2254
|
'@stylistic/key-spacing': ["error", {
|
|
2189
2255
|
beforeColon: boolean;
|
|
@@ -4130,6 +4196,27 @@ declare const vue: ({
|
|
|
4130
4196
|
ObjectPattern: boolean;
|
|
4131
4197
|
VariableDeclaration: boolean;
|
|
4132
4198
|
NewExpression: boolean;
|
|
4199
|
+
ExportAllDeclaration: boolean;
|
|
4200
|
+
ExportNamedDeclaration: boolean;
|
|
4201
|
+
ImportExpression: boolean;
|
|
4202
|
+
SequenceExpression: boolean;
|
|
4203
|
+
ClassDeclaration: boolean;
|
|
4204
|
+
ClassExpression: boolean;
|
|
4205
|
+
TSDeclareFunction: boolean;
|
|
4206
|
+
TSFunctionType: boolean;
|
|
4207
|
+
TSConstructorType: boolean;
|
|
4208
|
+
TSEmptyBodyFunctionExpression: boolean;
|
|
4209
|
+
TSMethodSignature: boolean;
|
|
4210
|
+
TSCallSignatureDeclaration: boolean;
|
|
4211
|
+
TSConstructSignatureDeclaration: boolean;
|
|
4212
|
+
TSEnumBody: boolean;
|
|
4213
|
+
TSTypeLiteral: boolean;
|
|
4214
|
+
TSInterfaceBody: boolean;
|
|
4215
|
+
TSIndexSignature: boolean;
|
|
4216
|
+
TSInterfaceDeclaration: boolean;
|
|
4217
|
+
TSTupleType: boolean;
|
|
4218
|
+
TSTypeParameterDeclaration: boolean;
|
|
4219
|
+
TSTypeParameterInstantiation: boolean;
|
|
4133
4220
|
};
|
|
4134
4221
|
}];
|
|
4135
4222
|
'@stylistic/computed-property-spacing': ["error", string];
|
|
@@ -4169,6 +4256,7 @@ declare const vue: ({
|
|
|
4169
4256
|
flatTernaryExpressions: boolean;
|
|
4170
4257
|
ignoreComments: boolean;
|
|
4171
4258
|
}];
|
|
4259
|
+
'@stylistic/indent-binary-ops': ["error", number];
|
|
4172
4260
|
'@stylistic/jsx-quotes': ["off", string];
|
|
4173
4261
|
'@stylistic/key-spacing': ["error", {
|
|
4174
4262
|
beforeColon: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -342,6 +342,27 @@ declare const core: ({
|
|
|
342
342
|
ObjectPattern: boolean;
|
|
343
343
|
VariableDeclaration: boolean;
|
|
344
344
|
NewExpression: boolean;
|
|
345
|
+
ExportAllDeclaration: boolean;
|
|
346
|
+
ExportNamedDeclaration: boolean;
|
|
347
|
+
ImportExpression: boolean;
|
|
348
|
+
SequenceExpression: boolean;
|
|
349
|
+
ClassDeclaration: boolean;
|
|
350
|
+
ClassExpression: boolean;
|
|
351
|
+
TSDeclareFunction: boolean;
|
|
352
|
+
TSFunctionType: boolean;
|
|
353
|
+
TSConstructorType: boolean;
|
|
354
|
+
TSEmptyBodyFunctionExpression: boolean;
|
|
355
|
+
TSMethodSignature: boolean;
|
|
356
|
+
TSCallSignatureDeclaration: boolean;
|
|
357
|
+
TSConstructSignatureDeclaration: boolean;
|
|
358
|
+
TSEnumBody: boolean;
|
|
359
|
+
TSTypeLiteral: boolean;
|
|
360
|
+
TSInterfaceBody: boolean;
|
|
361
|
+
TSIndexSignature: boolean;
|
|
362
|
+
TSInterfaceDeclaration: boolean;
|
|
363
|
+
TSTupleType: boolean;
|
|
364
|
+
TSTypeParameterDeclaration: boolean;
|
|
365
|
+
TSTypeParameterInstantiation: boolean;
|
|
345
366
|
};
|
|
346
367
|
}];
|
|
347
368
|
'@stylistic/computed-property-spacing': ["error", string];
|
|
@@ -381,6 +402,7 @@ declare const core: ({
|
|
|
381
402
|
flatTernaryExpressions: boolean;
|
|
382
403
|
ignoreComments: boolean;
|
|
383
404
|
}];
|
|
405
|
+
'@stylistic/indent-binary-ops': ["error", number];
|
|
384
406
|
'@stylistic/jsx-quotes': ["off", string];
|
|
385
407
|
'@stylistic/key-spacing': ["error", {
|
|
386
408
|
beforeColon: boolean;
|
|
@@ -1192,6 +1214,27 @@ declare const node: [...({
|
|
|
1192
1214
|
ObjectPattern: boolean;
|
|
1193
1215
|
VariableDeclaration: boolean;
|
|
1194
1216
|
NewExpression: boolean;
|
|
1217
|
+
ExportAllDeclaration: boolean;
|
|
1218
|
+
ExportNamedDeclaration: boolean;
|
|
1219
|
+
ImportExpression: boolean;
|
|
1220
|
+
SequenceExpression: boolean;
|
|
1221
|
+
ClassDeclaration: boolean;
|
|
1222
|
+
ClassExpression: boolean;
|
|
1223
|
+
TSDeclareFunction: boolean;
|
|
1224
|
+
TSFunctionType: boolean;
|
|
1225
|
+
TSConstructorType: boolean;
|
|
1226
|
+
TSEmptyBodyFunctionExpression: boolean;
|
|
1227
|
+
TSMethodSignature: boolean;
|
|
1228
|
+
TSCallSignatureDeclaration: boolean;
|
|
1229
|
+
TSConstructSignatureDeclaration: boolean;
|
|
1230
|
+
TSEnumBody: boolean;
|
|
1231
|
+
TSTypeLiteral: boolean;
|
|
1232
|
+
TSInterfaceBody: boolean;
|
|
1233
|
+
TSIndexSignature: boolean;
|
|
1234
|
+
TSInterfaceDeclaration: boolean;
|
|
1235
|
+
TSTupleType: boolean;
|
|
1236
|
+
TSTypeParameterDeclaration: boolean;
|
|
1237
|
+
TSTypeParameterInstantiation: boolean;
|
|
1195
1238
|
};
|
|
1196
1239
|
}];
|
|
1197
1240
|
'@stylistic/computed-property-spacing': ["error", string];
|
|
@@ -1231,6 +1274,7 @@ declare const node: [...({
|
|
|
1231
1274
|
flatTernaryExpressions: boolean;
|
|
1232
1275
|
ignoreComments: boolean;
|
|
1233
1276
|
}];
|
|
1277
|
+
'@stylistic/indent-binary-ops': ["error", number];
|
|
1234
1278
|
'@stylistic/jsx-quotes': ["off", string];
|
|
1235
1279
|
'@stylistic/key-spacing': ["error", {
|
|
1236
1280
|
beforeColon: boolean;
|
|
@@ -2145,6 +2189,27 @@ declare const browser: [...({
|
|
|
2145
2189
|
ObjectPattern: boolean;
|
|
2146
2190
|
VariableDeclaration: boolean;
|
|
2147
2191
|
NewExpression: boolean;
|
|
2192
|
+
ExportAllDeclaration: boolean;
|
|
2193
|
+
ExportNamedDeclaration: boolean;
|
|
2194
|
+
ImportExpression: boolean;
|
|
2195
|
+
SequenceExpression: boolean;
|
|
2196
|
+
ClassDeclaration: boolean;
|
|
2197
|
+
ClassExpression: boolean;
|
|
2198
|
+
TSDeclareFunction: boolean;
|
|
2199
|
+
TSFunctionType: boolean;
|
|
2200
|
+
TSConstructorType: boolean;
|
|
2201
|
+
TSEmptyBodyFunctionExpression: boolean;
|
|
2202
|
+
TSMethodSignature: boolean;
|
|
2203
|
+
TSCallSignatureDeclaration: boolean;
|
|
2204
|
+
TSConstructSignatureDeclaration: boolean;
|
|
2205
|
+
TSEnumBody: boolean;
|
|
2206
|
+
TSTypeLiteral: boolean;
|
|
2207
|
+
TSInterfaceBody: boolean;
|
|
2208
|
+
TSIndexSignature: boolean;
|
|
2209
|
+
TSInterfaceDeclaration: boolean;
|
|
2210
|
+
TSTupleType: boolean;
|
|
2211
|
+
TSTypeParameterDeclaration: boolean;
|
|
2212
|
+
TSTypeParameterInstantiation: boolean;
|
|
2148
2213
|
};
|
|
2149
2214
|
}];
|
|
2150
2215
|
'@stylistic/computed-property-spacing': ["error", string];
|
|
@@ -2184,6 +2249,7 @@ declare const browser: [...({
|
|
|
2184
2249
|
flatTernaryExpressions: boolean;
|
|
2185
2250
|
ignoreComments: boolean;
|
|
2186
2251
|
}];
|
|
2252
|
+
'@stylistic/indent-binary-ops': ["error", number];
|
|
2187
2253
|
'@stylistic/jsx-quotes': ["off", string];
|
|
2188
2254
|
'@stylistic/key-spacing': ["error", {
|
|
2189
2255
|
beforeColon: boolean;
|
|
@@ -4130,6 +4196,27 @@ declare const vue: ({
|
|
|
4130
4196
|
ObjectPattern: boolean;
|
|
4131
4197
|
VariableDeclaration: boolean;
|
|
4132
4198
|
NewExpression: boolean;
|
|
4199
|
+
ExportAllDeclaration: boolean;
|
|
4200
|
+
ExportNamedDeclaration: boolean;
|
|
4201
|
+
ImportExpression: boolean;
|
|
4202
|
+
SequenceExpression: boolean;
|
|
4203
|
+
ClassDeclaration: boolean;
|
|
4204
|
+
ClassExpression: boolean;
|
|
4205
|
+
TSDeclareFunction: boolean;
|
|
4206
|
+
TSFunctionType: boolean;
|
|
4207
|
+
TSConstructorType: boolean;
|
|
4208
|
+
TSEmptyBodyFunctionExpression: boolean;
|
|
4209
|
+
TSMethodSignature: boolean;
|
|
4210
|
+
TSCallSignatureDeclaration: boolean;
|
|
4211
|
+
TSConstructSignatureDeclaration: boolean;
|
|
4212
|
+
TSEnumBody: boolean;
|
|
4213
|
+
TSTypeLiteral: boolean;
|
|
4214
|
+
TSInterfaceBody: boolean;
|
|
4215
|
+
TSIndexSignature: boolean;
|
|
4216
|
+
TSInterfaceDeclaration: boolean;
|
|
4217
|
+
TSTupleType: boolean;
|
|
4218
|
+
TSTypeParameterDeclaration: boolean;
|
|
4219
|
+
TSTypeParameterInstantiation: boolean;
|
|
4133
4220
|
};
|
|
4134
4221
|
}];
|
|
4135
4222
|
'@stylistic/computed-property-spacing': ["error", string];
|
|
@@ -4169,6 +4256,7 @@ declare const vue: ({
|
|
|
4169
4256
|
flatTernaryExpressions: boolean;
|
|
4170
4257
|
ignoreComments: boolean;
|
|
4171
4258
|
}];
|
|
4259
|
+
'@stylistic/indent-binary-ops': ["error", number];
|
|
4172
4260
|
'@stylistic/jsx-quotes': ["off", string];
|
|
4173
4261
|
'@stylistic/key-spacing': ["error", {
|
|
4174
4262
|
beforeColon: boolean;
|
package/dist/index.mjs
CHANGED
|
@@ -1159,7 +1159,28 @@ const style = {
|
|
|
1159
1159
|
ObjectExpression: false,
|
|
1160
1160
|
ObjectPattern: false,
|
|
1161
1161
|
VariableDeclaration: false,
|
|
1162
|
-
NewExpression: false
|
|
1162
|
+
NewExpression: false,
|
|
1163
|
+
ExportAllDeclaration: false,
|
|
1164
|
+
ExportNamedDeclaration: false,
|
|
1165
|
+
ImportExpression: false,
|
|
1166
|
+
SequenceExpression: false,
|
|
1167
|
+
ClassDeclaration: false,
|
|
1168
|
+
ClassExpression: false,
|
|
1169
|
+
TSDeclareFunction: false,
|
|
1170
|
+
TSFunctionType: false,
|
|
1171
|
+
TSConstructorType: false,
|
|
1172
|
+
TSEmptyBodyFunctionExpression: false,
|
|
1173
|
+
TSMethodSignature: false,
|
|
1174
|
+
TSCallSignatureDeclaration: false,
|
|
1175
|
+
TSConstructSignatureDeclaration: false,
|
|
1176
|
+
TSEnumBody: false,
|
|
1177
|
+
TSTypeLiteral: false,
|
|
1178
|
+
TSInterfaceBody: false,
|
|
1179
|
+
TSIndexSignature: false,
|
|
1180
|
+
TSInterfaceDeclaration: false,
|
|
1181
|
+
TSTupleType: false,
|
|
1182
|
+
TSTypeParameterDeclaration: false,
|
|
1183
|
+
TSTypeParameterInstantiation: false
|
|
1163
1184
|
}
|
|
1164
1185
|
}
|
|
1165
1186
|
],
|
|
@@ -1239,6 +1260,7 @@ const style = {
|
|
|
1239
1260
|
ignoreComments: false
|
|
1240
1261
|
}
|
|
1241
1262
|
],
|
|
1263
|
+
"@stylistic/indent-binary-ops": ["error", 4],
|
|
1242
1264
|
// specify whether double or single quotes should be used in JSX attributes
|
|
1243
1265
|
// https://eslint.style/rules/default/jsx-quotes
|
|
1244
1266
|
"@stylistic/jsx-quotes": ["off", "prefer-double"],
|