@infernodesign/eslint-config 2.3.0 → 2.4.1
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 +6 -6
- package/dist/index.d.ts +772 -72
- package/dist/index.js +3 -12
- package/package.json +27 -27
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
|
-
|
|
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,
|
|
@@ -1804,7 +1796,6 @@ async function react(options = {}) {
|
|
|
1804
1796
|
name: "config/react/rules",
|
|
1805
1797
|
rules: {
|
|
1806
1798
|
...pluginReact.configs.recommended.rules,
|
|
1807
|
-
"react/prefer-namespace-import": "error",
|
|
1808
1799
|
"react-refresh/only-export-components": ["error", {
|
|
1809
1800
|
allowConstantExport: isAllowConstantExport,
|
|
1810
1801
|
allowExportNames: [...isUsingNext ? [
|
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.
|
|
4
|
+
"version": "2.4.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Inferno Design <support@infernodesign.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -47,22 +47,22 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@antfu/install-pkg": "1.1.0",
|
|
50
|
-
"@clack/prompts": "1.
|
|
51
|
-
"@e18e/eslint-plugin": "0.
|
|
50
|
+
"@clack/prompts": "1.3.0",
|
|
51
|
+
"@e18e/eslint-plugin": "0.4.1",
|
|
52
52
|
"@eslint-community/eslint-plugin-eslint-comments": "4.7.1",
|
|
53
53
|
"@eslint/compat": "2.0.5",
|
|
54
54
|
"@eslint/config-array": "0.23.5",
|
|
55
55
|
"@eslint/config-helpers": "0.5.5",
|
|
56
56
|
"@eslint/markdown": "8.0.1",
|
|
57
57
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
58
|
-
"@typescript-eslint/eslint-plugin": "8.59.
|
|
59
|
-
"@typescript-eslint/parser": "8.59.
|
|
60
|
-
"@typescript-eslint/utils": "8.59.
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "8.59.1",
|
|
59
|
+
"@typescript-eslint/parser": "8.59.1",
|
|
60
|
+
"@typescript-eslint/utils": "8.59.1",
|
|
61
61
|
"@vitest/eslint-plugin": "1.6.16",
|
|
62
62
|
"ansis": "4.2.0",
|
|
63
63
|
"cac": "7.0.0",
|
|
64
64
|
"eslint-config-flat-gitignore": "2.3.0",
|
|
65
|
-
"eslint-flat-config-utils": "3.
|
|
65
|
+
"eslint-flat-config-utils": "3.2.0",
|
|
66
66
|
"eslint-merge-processors": "2.0.0",
|
|
67
67
|
"eslint-plugin-antfu": "3.2.2",
|
|
68
68
|
"eslint-plugin-command": "3.5.2",
|
|
@@ -70,17 +70,17 @@
|
|
|
70
70
|
"eslint-plugin-jsdoc": "62.9.0",
|
|
71
71
|
"eslint-plugin-jsonc": "3.1.2",
|
|
72
72
|
"eslint-plugin-n": "17.24.0",
|
|
73
|
-
"eslint-plugin-no-only-tests": "3.
|
|
73
|
+
"eslint-plugin-no-only-tests": "3.4.0",
|
|
74
74
|
"eslint-plugin-perfectionist": "5.9.0",
|
|
75
75
|
"eslint-plugin-pnpm": "1.6.0",
|
|
76
76
|
"eslint-plugin-regexp": "3.1.0",
|
|
77
77
|
"eslint-plugin-toml": "1.3.1",
|
|
78
78
|
"eslint-plugin-unicorn": "64.0.0",
|
|
79
79
|
"eslint-plugin-unused-imports": "4.4.1",
|
|
80
|
-
"eslint-plugin-vue": "10.
|
|
81
|
-
"eslint-plugin-yml": "3.3.
|
|
80
|
+
"eslint-plugin-vue": "10.9.0",
|
|
81
|
+
"eslint-plugin-yml": "3.3.2",
|
|
82
82
|
"eslint-processor-vue-blocks": "2.0.0",
|
|
83
|
-
"globals": "17.
|
|
83
|
+
"globals": "17.6.0",
|
|
84
84
|
"jsonc-eslint-parser": "3.1.0",
|
|
85
85
|
"local-pkg": "1.1.2",
|
|
86
86
|
"parse-gitignore": "2.0.0",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"yaml-eslint-parser": "2.0.0"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
|
-
"@eslint-react/eslint-plugin": "
|
|
92
|
+
"@eslint-react/eslint-plugin": "5.7.1",
|
|
93
93
|
"@eslint/config-inspector": "2.0.0",
|
|
94
94
|
"@infernodesign/typescript-config": "workspace:*",
|
|
95
95
|
"@next/eslint-plugin-next": "16.2.4",
|
|
@@ -98,16 +98,16 @@
|
|
|
98
98
|
"@types/node": "25.6.0",
|
|
99
99
|
"@unocss/eslint-plugin": "66.6.8",
|
|
100
100
|
"astro-eslint-parser": "1.4.0",
|
|
101
|
-
"eslint": "10.
|
|
101
|
+
"eslint": "10.3.0",
|
|
102
102
|
"eslint-plugin-astro": "1.7.0",
|
|
103
|
-
"eslint-plugin-better-tailwindcss": "4.
|
|
104
|
-
"eslint-plugin-erasable-syntax-only": "0.4.
|
|
103
|
+
"eslint-plugin-better-tailwindcss": "4.5.0",
|
|
104
|
+
"eslint-plugin-erasable-syntax-only": "0.4.1",
|
|
105
105
|
"eslint-plugin-format": "2.0.1",
|
|
106
106
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
107
107
|
"eslint-plugin-react-refresh": "0.5.2",
|
|
108
108
|
"eslint-plugin-solid": "0.14.5",
|
|
109
|
-
"eslint-plugin-storybook": "10.3.
|
|
110
|
-
"eslint-plugin-svelte": "3.17.
|
|
109
|
+
"eslint-plugin-storybook": "10.3.6",
|
|
110
|
+
"eslint-plugin-svelte": "3.17.1",
|
|
111
111
|
"eslint-plugin-vuejs-accessibility": "2.5.0",
|
|
112
112
|
"eslint-typegen": "2.3.1",
|
|
113
113
|
"execa": "9.6.1",
|
|
@@ -116,30 +116,30 @@
|
|
|
116
116
|
"pnpm-workspace-yaml": "1.6.0",
|
|
117
117
|
"prettier-plugin-astro": "0.14.1",
|
|
118
118
|
"prettier-plugin-slidev": "1.0.5",
|
|
119
|
-
"svelte": "5.55.
|
|
119
|
+
"svelte": "5.55.5",
|
|
120
120
|
"svelte-eslint-parser": "1.6.0",
|
|
121
121
|
"tinyglobby": "0.2.16",
|
|
122
|
-
"tsdown": "0.21.
|
|
123
|
-
"typescript": "
|
|
122
|
+
"tsdown": "0.21.10",
|
|
123
|
+
"typescript": "6.0.3",
|
|
124
124
|
"vitest": "4.1.5",
|
|
125
|
-
"vue": "3.5.
|
|
125
|
+
"vue": "3.5.33"
|
|
126
126
|
},
|
|
127
127
|
"peerDependencies": {
|
|
128
|
-
"@eslint-react/eslint-plugin": "^
|
|
128
|
+
"@eslint-react/eslint-plugin": "^5.7.1",
|
|
129
129
|
"@next/eslint-plugin-next": "^16.2.4",
|
|
130
130
|
"@prettier/plugin-xml": "^3.4.2",
|
|
131
131
|
"@unocss/eslint-plugin": "^66.6.8",
|
|
132
132
|
"astro-eslint-parser": "^1.4.0",
|
|
133
|
-
"eslint": "^10.
|
|
133
|
+
"eslint": "^10.3.0",
|
|
134
134
|
"eslint-plugin-astro": "^1.7.0",
|
|
135
|
-
"eslint-plugin-better-tailwindcss": "^4.
|
|
136
|
-
"eslint-plugin-erasable-syntax-only": "^0.4.
|
|
135
|
+
"eslint-plugin-better-tailwindcss": "^4.5.0",
|
|
136
|
+
"eslint-plugin-erasable-syntax-only": "^0.4.1",
|
|
137
137
|
"eslint-plugin-format": "^2.0.1",
|
|
138
138
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
139
139
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
140
140
|
"eslint-plugin-solid": "^0.14.5",
|
|
141
|
-
"eslint-plugin-storybook": "^10.3.
|
|
142
|
-
"eslint-plugin-svelte": "^3.17.
|
|
141
|
+
"eslint-plugin-storybook": "^10.3.6",
|
|
142
|
+
"eslint-plugin-svelte": "^3.17.1",
|
|
143
143
|
"eslint-plugin-vuejs-accessibility": "^2.5.0",
|
|
144
144
|
"prettier-plugin-astro": "^0.14.1",
|
|
145
145
|
"prettier-plugin-slidev": "^1.0.5",
|