@antfu/eslint-config 2.22.1 → 2.22.2
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/README.md +1 -0
- package/dist/cli.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.js +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/cli.cjs
CHANGED
|
@@ -48,7 +48,7 @@ var import_picocolors = __toESM(require("picocolors"), 1);
|
|
|
48
48
|
var package_default = {
|
|
49
49
|
name: "@antfu/eslint-config",
|
|
50
50
|
type: "module",
|
|
51
|
-
version: "2.22.
|
|
51
|
+
version: "2.22.2",
|
|
52
52
|
packageManager: "pnpm@9.5.0",
|
|
53
53
|
description: "Anthony's ESLint config",
|
|
54
54
|
author: "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
package/dist/cli.js
CHANGED
|
@@ -19,7 +19,7 @@ import c from "picocolors";
|
|
|
19
19
|
var package_default = {
|
|
20
20
|
name: "@antfu/eslint-config",
|
|
21
21
|
type: "module",
|
|
22
|
-
version: "2.22.
|
|
22
|
+
version: "2.22.2",
|
|
23
23
|
packageManager: "pnpm@9.5.0",
|
|
24
24
|
description: "Anthony's ESLint config",
|
|
25
25
|
author: "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
package/dist/index.cjs
CHANGED
|
@@ -1632,6 +1632,7 @@ function sortTsconfig() {
|
|
|
1632
1632
|
"allowSyntheticDefaultImports",
|
|
1633
1633
|
"esModuleInterop",
|
|
1634
1634
|
"forceConsistentCasingInFileNames",
|
|
1635
|
+
"isolatedDeclarations",
|
|
1635
1636
|
"isolatedModules",
|
|
1636
1637
|
"preserveSymlinks",
|
|
1637
1638
|
"verbatimModuleSyntax",
|
|
@@ -1959,7 +1960,7 @@ async function typescript(options = {}) {
|
|
|
1959
1960
|
"no-redeclare": "off",
|
|
1960
1961
|
"no-use-before-define": "off",
|
|
1961
1962
|
"no-useless-constructor": "off",
|
|
1962
|
-
"ts/ban-ts-comment": ["error", { "ts-
|
|
1963
|
+
"ts/ban-ts-comment": ["error", { "ts-expect-error": "allow-with-description" }],
|
|
1963
1964
|
"ts/consistent-type-definitions": ["error", "interface"],
|
|
1964
1965
|
"ts/consistent-type-imports": ["error", { disallowTypeAnnotations: false, prefer: "type-imports" }],
|
|
1965
1966
|
"ts/method-signature-style": ["error", "property"],
|
package/dist/index.js
CHANGED
|
@@ -1528,6 +1528,7 @@ function sortTsconfig() {
|
|
|
1528
1528
|
"allowSyntheticDefaultImports",
|
|
1529
1529
|
"esModuleInterop",
|
|
1530
1530
|
"forceConsistentCasingInFileNames",
|
|
1531
|
+
"isolatedDeclarations",
|
|
1531
1532
|
"isolatedModules",
|
|
1532
1533
|
"preserveSymlinks",
|
|
1533
1534
|
"verbatimModuleSyntax",
|
|
@@ -1855,7 +1856,7 @@ async function typescript(options = {}) {
|
|
|
1855
1856
|
"no-redeclare": "off",
|
|
1856
1857
|
"no-use-before-define": "off",
|
|
1857
1858
|
"no-useless-constructor": "off",
|
|
1858
|
-
"ts/ban-ts-comment": ["error", { "ts-
|
|
1859
|
+
"ts/ban-ts-comment": ["error", { "ts-expect-error": "allow-with-description" }],
|
|
1859
1860
|
"ts/consistent-type-definitions": ["error", "interface"],
|
|
1860
1861
|
"ts/consistent-type-imports": ["error", { disallowTypeAnnotations: false, prefer: "type-imports" }],
|
|
1861
1862
|
"ts/method-signature-style": ["error", "property"],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antfu/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.22.
|
|
4
|
+
"version": "2.22.2",
|
|
5
5
|
"description": "Anthony's ESLint config",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"typescript": "^5.5.3",
|
|
157
157
|
"vitest": "^2.0.2",
|
|
158
158
|
"vue": "^3.4.31",
|
|
159
|
-
"@antfu/eslint-config": "2.22.
|
|
159
|
+
"@antfu/eslint-config": "2.22.2"
|
|
160
160
|
},
|
|
161
161
|
"resolutions": {
|
|
162
162
|
"tsx": "~4.16.2"
|