@infernodesign/eslint-config 2.2.0 → 2.3.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 +1 -1
- package/dist/index.js +22 -3
- package/package.json +1 -1
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.
|
|
11
|
+
var version = "2.3.0";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/cli/constants.ts
|
|
14
14
|
const vscodeSettingsString = `
|
package/dist/index.js
CHANGED
|
@@ -1499,6 +1499,7 @@ async function perfectionist() {
|
|
|
1499
1499
|
"perfectionist/sort-enums": ["error", {
|
|
1500
1500
|
fallbackSort: { type: "unsorted" },
|
|
1501
1501
|
newlinesBetween: "ignore",
|
|
1502
|
+
newlinesInside: "ignore",
|
|
1502
1503
|
order: "asc",
|
|
1503
1504
|
partitionByComment: true,
|
|
1504
1505
|
partitionByNewLine: true,
|
|
@@ -1508,6 +1509,7 @@ async function perfectionist() {
|
|
|
1508
1509
|
"perfectionist/sort-exports": ["error", {
|
|
1509
1510
|
fallbackSort: { type: "unsorted" },
|
|
1510
1511
|
newlinesBetween: "ignore",
|
|
1512
|
+
newlinesInside: "ignore",
|
|
1511
1513
|
order: "asc",
|
|
1512
1514
|
partitionByComment: true,
|
|
1513
1515
|
partitionByNewLine: true,
|
|
@@ -1535,15 +1537,17 @@ async function perfectionist() {
|
|
|
1535
1537
|
"side-effect",
|
|
1536
1538
|
"unknown"
|
|
1537
1539
|
],
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
newlinesInside: 0,
|
|
1540
|
+
newlinesBetween: "ignore",
|
|
1541
|
+
newlinesInside: "ignore",
|
|
1541
1542
|
order: "asc",
|
|
1543
|
+
partitionByComment: true,
|
|
1544
|
+
partitionByNewLine: true,
|
|
1542
1545
|
type: "alphabetical"
|
|
1543
1546
|
}],
|
|
1544
1547
|
"perfectionist/sort-interfaces": ["error", {
|
|
1545
1548
|
fallbackSort: { type: "unsorted" },
|
|
1546
1549
|
newlinesBetween: "ignore",
|
|
1550
|
+
newlinesInside: "ignore",
|
|
1547
1551
|
order: "asc",
|
|
1548
1552
|
partitionByComment: true,
|
|
1549
1553
|
partitionByNewLine: true,
|
|
@@ -1551,9 +1555,20 @@ async function perfectionist() {
|
|
|
1551
1555
|
type: "alphabetical"
|
|
1552
1556
|
}],
|
|
1553
1557
|
"perfectionist/sort-intersection-types": "off",
|
|
1558
|
+
"perfectionist/sort-modules": ["error", {
|
|
1559
|
+
fallbackSort: { type: "unsorted" },
|
|
1560
|
+
newlinesBetween: "ignore",
|
|
1561
|
+
newlinesInside: "ignore",
|
|
1562
|
+
order: "asc",
|
|
1563
|
+
partitionByComment: true,
|
|
1564
|
+
partitionByNewLine: true,
|
|
1565
|
+
specialCharacters: "keep",
|
|
1566
|
+
type: "alphabetical"
|
|
1567
|
+
}],
|
|
1554
1568
|
"perfectionist/sort-named-exports": ["error", {
|
|
1555
1569
|
fallbackSort: { type: "unsorted" },
|
|
1556
1570
|
newlinesBetween: "ignore",
|
|
1571
|
+
newlinesInside: "ignore",
|
|
1557
1572
|
order: "asc",
|
|
1558
1573
|
partitionByComment: true,
|
|
1559
1574
|
partitionByNewLine: true,
|
|
@@ -1563,6 +1578,7 @@ async function perfectionist() {
|
|
|
1563
1578
|
"perfectionist/sort-named-imports": ["error", {
|
|
1564
1579
|
fallbackSort: { type: "unsorted" },
|
|
1565
1580
|
newlinesBetween: 0,
|
|
1581
|
+
newlinesInside: 0,
|
|
1566
1582
|
order: "asc",
|
|
1567
1583
|
partitionByComment: false,
|
|
1568
1584
|
partitionByNewLine: false,
|
|
@@ -1572,6 +1588,7 @@ async function perfectionist() {
|
|
|
1572
1588
|
"perfectionist/sort-object-types": ["error", {
|
|
1573
1589
|
fallbackSort: { type: "unsorted" },
|
|
1574
1590
|
newlinesBetween: "ignore",
|
|
1591
|
+
newlinesInside: "ignore",
|
|
1575
1592
|
order: "asc",
|
|
1576
1593
|
partitionByComment: true,
|
|
1577
1594
|
partitionByNewLine: true,
|
|
@@ -1582,6 +1599,7 @@ async function perfectionist() {
|
|
|
1582
1599
|
"perfectionist/sort-sets": ["error", {
|
|
1583
1600
|
fallbackSort: { type: "unsorted" },
|
|
1584
1601
|
newlinesBetween: "ignore",
|
|
1602
|
+
newlinesInside: "ignore",
|
|
1585
1603
|
order: "asc",
|
|
1586
1604
|
partitionByComment: true,
|
|
1587
1605
|
partitionByNewLine: true,
|
|
@@ -1606,6 +1624,7 @@ async function perfectionist() {
|
|
|
1606
1624
|
],
|
|
1607
1625
|
ignoreCase: true,
|
|
1608
1626
|
newlinesBetween: "ignore",
|
|
1627
|
+
newlinesInside: "ignore",
|
|
1609
1628
|
order: "asc",
|
|
1610
1629
|
partitionByComment: true,
|
|
1611
1630
|
partitionByNewLine: true,
|
package/package.json
CHANGED