@infernodesign/eslint-config 2.2.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 +1 -1
- package/dist/index.js +11 -0
- 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.4.0";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/cli/constants.ts
|
|
14
14
|
const vscodeSettingsString = `
|
package/dist/index.js
CHANGED
|
@@ -1551,6 +1551,16 @@ async function perfectionist() {
|
|
|
1551
1551
|
type: "alphabetical"
|
|
1552
1552
|
}],
|
|
1553
1553
|
"perfectionist/sort-intersection-types": "off",
|
|
1554
|
+
"perfectionist/sort-modules": ["error", {
|
|
1555
|
+
fallbackSort: { type: "unsorted" },
|
|
1556
|
+
newlinesBetween: "ignore",
|
|
1557
|
+
newlinesInside: "ignore",
|
|
1558
|
+
order: "asc",
|
|
1559
|
+
partitionByComment: true,
|
|
1560
|
+
partitionByNewLine: true,
|
|
1561
|
+
specialCharacters: "keep",
|
|
1562
|
+
type: "alphabetical"
|
|
1563
|
+
}],
|
|
1554
1564
|
"perfectionist/sort-named-exports": ["error", {
|
|
1555
1565
|
fallbackSort: { type: "unsorted" },
|
|
1556
1566
|
newlinesBetween: "ignore",
|
|
@@ -1563,6 +1573,7 @@ async function perfectionist() {
|
|
|
1563
1573
|
"perfectionist/sort-named-imports": ["error", {
|
|
1564
1574
|
fallbackSort: { type: "unsorted" },
|
|
1565
1575
|
newlinesBetween: 0,
|
|
1576
|
+
newlinesInside: 0,
|
|
1566
1577
|
order: "asc",
|
|
1567
1578
|
partitionByComment: false,
|
|
1568
1579
|
partitionByNewLine: false,
|
package/package.json
CHANGED