@rhyster/eslint-config 1.6.22 → 1.6.24
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/eslint.config.d.ts
CHANGED
|
@@ -339,6 +339,27 @@ declare const _default: ({
|
|
|
339
339
|
ObjectPattern: boolean;
|
|
340
340
|
VariableDeclaration: boolean;
|
|
341
341
|
NewExpression: boolean;
|
|
342
|
+
ExportAllDeclaration: boolean;
|
|
343
|
+
ExportNamedDeclaration: boolean;
|
|
344
|
+
ImportExpression: boolean;
|
|
345
|
+
SequenceExpression: boolean;
|
|
346
|
+
ClassDeclaration: boolean;
|
|
347
|
+
ClassExpression: boolean;
|
|
348
|
+
TSDeclareFunction: boolean;
|
|
349
|
+
TSFunctionType: boolean;
|
|
350
|
+
TSConstructorType: boolean;
|
|
351
|
+
TSEmptyBodyFunctionExpression: boolean;
|
|
352
|
+
TSMethodSignature: boolean;
|
|
353
|
+
TSCallSignatureDeclaration: boolean;
|
|
354
|
+
TSConstructSignatureDeclaration: boolean;
|
|
355
|
+
TSEnumBody: boolean;
|
|
356
|
+
TSTypeLiteral: boolean;
|
|
357
|
+
TSInterfaceBody: boolean;
|
|
358
|
+
TSIndexSignature: boolean;
|
|
359
|
+
TSInterfaceDeclaration: boolean;
|
|
360
|
+
TSTupleType: boolean;
|
|
361
|
+
TSTypeParameterDeclaration: boolean;
|
|
362
|
+
TSTypeParameterInstantiation: boolean;
|
|
342
363
|
};
|
|
343
364
|
}];
|
|
344
365
|
'@stylistic/computed-property-spacing': ["error", string];
|
|
@@ -378,6 +399,7 @@ declare const _default: ({
|
|
|
378
399
|
flatTernaryExpressions: boolean;
|
|
379
400
|
ignoreComments: boolean;
|
|
380
401
|
}];
|
|
402
|
+
'@stylistic/indent-binary-ops': ["error", number];
|
|
381
403
|
'@stylistic/jsx-quotes': ["off", string];
|
|
382
404
|
'@stylistic/key-spacing': ["error", {
|
|
383
405
|
beforeColon: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eslint.config.d.ts","sourceRoot":"","sources":["../eslint.config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAW7B,OAAA,WACJ
|
|
1
|
+
{"version":3,"file":"eslint.config.d.ts","sourceRoot":"","sources":["../eslint.config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAW7B,OAAA,WACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAJJ,wBAuB4B"}
|
package/dist/index.cjs
CHANGED
|
@@ -1173,7 +1173,28 @@ const style = {
|
|
|
1173
1173
|
ObjectExpression: false,
|
|
1174
1174
|
ObjectPattern: false,
|
|
1175
1175
|
VariableDeclaration: false,
|
|
1176
|
-
NewExpression: false
|
|
1176
|
+
NewExpression: false,
|
|
1177
|
+
ExportAllDeclaration: false,
|
|
1178
|
+
ExportNamedDeclaration: false,
|
|
1179
|
+
ImportExpression: false,
|
|
1180
|
+
SequenceExpression: false,
|
|
1181
|
+
ClassDeclaration: false,
|
|
1182
|
+
ClassExpression: false,
|
|
1183
|
+
TSDeclareFunction: false,
|
|
1184
|
+
TSFunctionType: false,
|
|
1185
|
+
TSConstructorType: false,
|
|
1186
|
+
TSEmptyBodyFunctionExpression: false,
|
|
1187
|
+
TSMethodSignature: false,
|
|
1188
|
+
TSCallSignatureDeclaration: false,
|
|
1189
|
+
TSConstructSignatureDeclaration: false,
|
|
1190
|
+
TSEnumBody: false,
|
|
1191
|
+
TSTypeLiteral: false,
|
|
1192
|
+
TSInterfaceBody: false,
|
|
1193
|
+
TSIndexSignature: false,
|
|
1194
|
+
TSInterfaceDeclaration: false,
|
|
1195
|
+
TSTupleType: false,
|
|
1196
|
+
TSTypeParameterDeclaration: false,
|
|
1197
|
+
TSTypeParameterInstantiation: false
|
|
1177
1198
|
}
|
|
1178
1199
|
}
|
|
1179
1200
|
],
|
|
@@ -1253,6 +1274,7 @@ const style = {
|
|
|
1253
1274
|
ignoreComments: false
|
|
1254
1275
|
}
|
|
1255
1276
|
],
|
|
1277
|
+
"@stylistic/indent-binary-ops": ["error", 4],
|
|
1256
1278
|
// specify whether double or single quotes should be used in JSX attributes
|
|
1257
1279
|
// https://eslint.style/rules/default/jsx-quotes
|
|
1258
1280
|
"@stylistic/jsx-quotes": ["off", "prefer-double"],
|