@infernodesign/eslint-config 2.1.1 → 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 -2
- 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,14 +1537,17 @@ async function perfectionist() {
|
|
|
1535
1537
|
"side-effect",
|
|
1536
1538
|
"unknown"
|
|
1537
1539
|
],
|
|
1538
|
-
newlinesBetween:
|
|
1539
|
-
newlinesInside:
|
|
1540
|
+
newlinesBetween: "ignore",
|
|
1541
|
+
newlinesInside: "ignore",
|
|
1540
1542
|
order: "asc",
|
|
1543
|
+
partitionByComment: true,
|
|
1544
|
+
partitionByNewLine: true,
|
|
1541
1545
|
type: "alphabetical"
|
|
1542
1546
|
}],
|
|
1543
1547
|
"perfectionist/sort-interfaces": ["error", {
|
|
1544
1548
|
fallbackSort: { type: "unsorted" },
|
|
1545
1549
|
newlinesBetween: "ignore",
|
|
1550
|
+
newlinesInside: "ignore",
|
|
1546
1551
|
order: "asc",
|
|
1547
1552
|
partitionByComment: true,
|
|
1548
1553
|
partitionByNewLine: true,
|
|
@@ -1550,9 +1555,20 @@ async function perfectionist() {
|
|
|
1550
1555
|
type: "alphabetical"
|
|
1551
1556
|
}],
|
|
1552
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
|
+
}],
|
|
1553
1568
|
"perfectionist/sort-named-exports": ["error", {
|
|
1554
1569
|
fallbackSort: { type: "unsorted" },
|
|
1555
1570
|
newlinesBetween: "ignore",
|
|
1571
|
+
newlinesInside: "ignore",
|
|
1556
1572
|
order: "asc",
|
|
1557
1573
|
partitionByComment: true,
|
|
1558
1574
|
partitionByNewLine: true,
|
|
@@ -1562,6 +1578,7 @@ async function perfectionist() {
|
|
|
1562
1578
|
"perfectionist/sort-named-imports": ["error", {
|
|
1563
1579
|
fallbackSort: { type: "unsorted" },
|
|
1564
1580
|
newlinesBetween: 0,
|
|
1581
|
+
newlinesInside: 0,
|
|
1565
1582
|
order: "asc",
|
|
1566
1583
|
partitionByComment: false,
|
|
1567
1584
|
partitionByNewLine: false,
|
|
@@ -1571,6 +1588,7 @@ async function perfectionist() {
|
|
|
1571
1588
|
"perfectionist/sort-object-types": ["error", {
|
|
1572
1589
|
fallbackSort: { type: "unsorted" },
|
|
1573
1590
|
newlinesBetween: "ignore",
|
|
1591
|
+
newlinesInside: "ignore",
|
|
1574
1592
|
order: "asc",
|
|
1575
1593
|
partitionByComment: true,
|
|
1576
1594
|
partitionByNewLine: true,
|
|
@@ -1581,6 +1599,7 @@ async function perfectionist() {
|
|
|
1581
1599
|
"perfectionist/sort-sets": ["error", {
|
|
1582
1600
|
fallbackSort: { type: "unsorted" },
|
|
1583
1601
|
newlinesBetween: "ignore",
|
|
1602
|
+
newlinesInside: "ignore",
|
|
1584
1603
|
order: "asc",
|
|
1585
1604
|
partitionByComment: true,
|
|
1586
1605
|
partitionByNewLine: true,
|
|
@@ -1605,6 +1624,7 @@ async function perfectionist() {
|
|
|
1605
1624
|
],
|
|
1606
1625
|
ignoreCase: true,
|
|
1607
1626
|
newlinesBetween: "ignore",
|
|
1627
|
+
newlinesInside: "ignore",
|
|
1608
1628
|
order: "asc",
|
|
1609
1629
|
partitionByComment: true,
|
|
1610
1630
|
partitionByNewLine: true,
|
package/package.json
CHANGED