@infernodesign/eslint-config 2.3.0 → 2.4.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.
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import { cac } from "cac";
8
8
  import parse from "parse-gitignore";
9
9
  import { execSync } from "node:child_process";
10
10
  //#region package.json
11
- var version = "2.3.0";
11
+ var version = "2.4.0";
12
12
  //#endregion
13
13
  //#region src/cli/constants.ts
14
14
  const vscodeSettingsString = `
package/dist/index.js CHANGED
@@ -1499,7 +1499,6 @@ async function perfectionist() {
1499
1499
  "perfectionist/sort-enums": ["error", {
1500
1500
  fallbackSort: { type: "unsorted" },
1501
1501
  newlinesBetween: "ignore",
1502
- newlinesInside: "ignore",
1503
1502
  order: "asc",
1504
1503
  partitionByComment: true,
1505
1504
  partitionByNewLine: true,
@@ -1509,7 +1508,6 @@ async function perfectionist() {
1509
1508
  "perfectionist/sort-exports": ["error", {
1510
1509
  fallbackSort: { type: "unsorted" },
1511
1510
  newlinesBetween: "ignore",
1512
- newlinesInside: "ignore",
1513
1511
  order: "asc",
1514
1512
  partitionByComment: true,
1515
1513
  partitionByNewLine: true,
@@ -1537,17 +1535,15 @@ async function perfectionist() {
1537
1535
  "side-effect",
1538
1536
  "unknown"
1539
1537
  ],
1540
- newlinesBetween: "ignore",
1541
- newlinesInside: "ignore",
1542
- order: "asc",
1543
1538
  partitionByComment: true,
1544
- partitionByNewLine: true,
1539
+ newlinesBetween: 1,
1540
+ newlinesInside: 0,
1541
+ order: "asc",
1545
1542
  type: "alphabetical"
1546
1543
  }],
1547
1544
  "perfectionist/sort-interfaces": ["error", {
1548
1545
  fallbackSort: { type: "unsorted" },
1549
1546
  newlinesBetween: "ignore",
1550
- newlinesInside: "ignore",
1551
1547
  order: "asc",
1552
1548
  partitionByComment: true,
1553
1549
  partitionByNewLine: true,
@@ -1568,7 +1564,6 @@ async function perfectionist() {
1568
1564
  "perfectionist/sort-named-exports": ["error", {
1569
1565
  fallbackSort: { type: "unsorted" },
1570
1566
  newlinesBetween: "ignore",
1571
- newlinesInside: "ignore",
1572
1567
  order: "asc",
1573
1568
  partitionByComment: true,
1574
1569
  partitionByNewLine: true,
@@ -1588,7 +1583,6 @@ async function perfectionist() {
1588
1583
  "perfectionist/sort-object-types": ["error", {
1589
1584
  fallbackSort: { type: "unsorted" },
1590
1585
  newlinesBetween: "ignore",
1591
- newlinesInside: "ignore",
1592
1586
  order: "asc",
1593
1587
  partitionByComment: true,
1594
1588
  partitionByNewLine: true,
@@ -1599,7 +1593,6 @@ async function perfectionist() {
1599
1593
  "perfectionist/sort-sets": ["error", {
1600
1594
  fallbackSort: { type: "unsorted" },
1601
1595
  newlinesBetween: "ignore",
1602
- newlinesInside: "ignore",
1603
1596
  order: "asc",
1604
1597
  partitionByComment: true,
1605
1598
  partitionByNewLine: true,
@@ -1624,7 +1617,6 @@ async function perfectionist() {
1624
1617
  ],
1625
1618
  ignoreCase: true,
1626
1619
  newlinesBetween: "ignore",
1627
- newlinesInside: "ignore",
1628
1620
  order: "asc",
1629
1621
  partitionByComment: true,
1630
1622
  partitionByNewLine: true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@infernodesign/eslint-config",
3
3
  "description": "ESLint config for Inferno Design.",
4
- "version": "2.3.0",
4
+ "version": "2.4.0",
5
5
  "type": "module",
6
6
  "author": "Inferno Design <support@infernodesign.com>",
7
7
  "license": "MIT",