@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.
@@ -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[];
@@ -108,6 +108,7 @@ export declare const javascript: {
108
108
  itemsWithRest: number;
109
109
  items: number;
110
110
  })[];
111
+ 'jsx-quotes': string[];
111
112
  };
112
113
  overrides: {
113
114
  files: string[];
@@ -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
  {
@@ -10,7 +10,6 @@ export declare const react: {
10
10
  noSortAlphabetically: boolean;
11
11
  multiline: string;
12
12
  })[];
13
- 'jsx-quotes': string[];
14
13
  'react/jsx-newline': (string | {
15
14
  prevent: boolean;
16
15
  })[];
package/configs/react.js CHANGED
@@ -30,10 +30,6 @@ exports.react = {
30
30
  multiline: 'last',
31
31
  },
32
32
  ],
33
- 'jsx-quotes': [
34
- 'error',
35
- 'prefer-double',
36
- ],
37
33
  'react/jsx-newline': [
38
34
  'error',
39
35
  {
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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@croct/eslint-plugin",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "ESLint rules and presets applied to all Croct JavaScript projects.",
5
5
  "license": "MIT",
6
6
  "author": {