@croct/eslint-plugin 0.6.5 → 0.6.6
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/configs/index.d.ts +1 -1
- package/configs/javascript.d.ts +1 -0
- package/configs/javascript.js +13 -0
- package/configs/react.d.ts +0 -1
- package/configs/react.js +0 -4
- package/index.d.ts +1 -1
- package/package.json +1 -1
package/configs/index.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ export declare const configs: {
|
|
|
24
24
|
noSortAlphabetically: boolean;
|
|
25
25
|
multiline: string;
|
|
26
26
|
})[];
|
|
27
|
-
'jsx-quotes': string[];
|
|
28
27
|
'react/jsx-newline': (string | {
|
|
29
28
|
prevent: boolean;
|
|
30
29
|
})[];
|
|
@@ -307,6 +306,7 @@ export declare const configs: {
|
|
|
307
306
|
itemsWithRest: number;
|
|
308
307
|
items: number;
|
|
309
308
|
})[];
|
|
309
|
+
'jsx-quotes': string[];
|
|
310
310
|
};
|
|
311
311
|
overrides: {
|
|
312
312
|
files: string[];
|
package/configs/javascript.d.ts
CHANGED
package/configs/javascript.js
CHANGED
|
@@ -222,6 +222,15 @@ exports.javascript = {
|
|
|
222
222
|
'block-like',
|
|
223
223
|
],
|
|
224
224
|
},
|
|
225
|
+
{
|
|
226
|
+
blankLine: 'any',
|
|
227
|
+
prev: [
|
|
228
|
+
'case',
|
|
229
|
+
],
|
|
230
|
+
next: [
|
|
231
|
+
'case',
|
|
232
|
+
],
|
|
233
|
+
},
|
|
225
234
|
],
|
|
226
235
|
'no-useless-escape': 'error',
|
|
227
236
|
'newline-destructuring/newline': [
|
|
@@ -232,6 +241,10 @@ exports.javascript = {
|
|
|
232
241
|
items: Infinity,
|
|
233
242
|
},
|
|
234
243
|
],
|
|
244
|
+
'jsx-quotes': [
|
|
245
|
+
'error',
|
|
246
|
+
'prefer-double',
|
|
247
|
+
],
|
|
235
248
|
},
|
|
236
249
|
overrides: [
|
|
237
250
|
{
|
package/configs/react.d.ts
CHANGED
package/configs/react.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -57,7 +57,6 @@ declare const configuration: {
|
|
|
57
57
|
noSortAlphabetically: boolean;
|
|
58
58
|
multiline: string;
|
|
59
59
|
})[];
|
|
60
|
-
'jsx-quotes': string[];
|
|
61
60
|
'react/jsx-newline': (string | {
|
|
62
61
|
prevent: boolean;
|
|
63
62
|
})[];
|
|
@@ -340,6 +339,7 @@ declare const configuration: {
|
|
|
340
339
|
itemsWithRest: number;
|
|
341
340
|
items: number;
|
|
342
341
|
})[];
|
|
342
|
+
'jsx-quotes': string[];
|
|
343
343
|
};
|
|
344
344
|
overrides: {
|
|
345
345
|
files: string[];
|