@jimmy.codes/eslint-config 6.29.0 → 6.30.0

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.
Files changed (2) hide show
  1. package/dist/index.mjs +35 -0
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -407,6 +407,41 @@ const stylisticRules = {
407
407
  blankLine: "always",
408
408
  next: "function",
409
409
  prev: "*"
410
+ },
411
+ {
412
+ blankLine: "any",
413
+ next: "const",
414
+ prev: "const"
415
+ },
416
+ {
417
+ blankLine: "any",
418
+ next: "let",
419
+ prev: "let"
420
+ },
421
+ {
422
+ blankLine: "any",
423
+ next: "var",
424
+ prev: "var"
425
+ },
426
+ {
427
+ blankLine: "always",
428
+ next: ["let", "var"],
429
+ prev: "const"
430
+ },
431
+ {
432
+ blankLine: "always",
433
+ next: ["const", "var"],
434
+ prev: "let"
435
+ },
436
+ {
437
+ blankLine: "always",
438
+ next: ["const", "let"],
439
+ prev: "var"
440
+ },
441
+ {
442
+ blankLine: "always",
443
+ next: "if",
444
+ prev: "if"
410
445
  }
411
446
  ]
412
447
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jimmy.codes/eslint-config",
3
- "version": "6.29.0",
3
+ "version": "6.30.0",
4
4
  "description": "A simple, modern ESLint config that covers most use cases.",
5
5
  "keywords": [
6
6
  "eslint",