@2030/eslint-config 2.0.1 → 2.0.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/dist/cli.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.cjs +0 -2
- package/dist/index.js +0 -2
- package/package.json +2 -2
package/dist/cli.cjs
CHANGED
|
@@ -41,7 +41,7 @@ var import_picocolors = __toESM(require("picocolors"), 1);
|
|
|
41
41
|
var package_default = {
|
|
42
42
|
name: "@2030/eslint-config",
|
|
43
43
|
type: "module",
|
|
44
|
-
version: "2.0.
|
|
44
|
+
version: "2.0.2",
|
|
45
45
|
description: "Shareable ESLint config for conventional coding style",
|
|
46
46
|
author: "Dai Jun <zijun2030@163.com>",
|
|
47
47
|
license: "MIT",
|
package/dist/cli.js
CHANGED
|
@@ -12,7 +12,7 @@ import c from "picocolors";
|
|
|
12
12
|
var package_default = {
|
|
13
13
|
name: "@2030/eslint-config",
|
|
14
14
|
type: "module",
|
|
15
|
-
version: "2.0.
|
|
15
|
+
version: "2.0.2",
|
|
16
16
|
description: "Shareable ESLint config for conventional coding style",
|
|
17
17
|
author: "Dai Jun <zijun2030@163.com>",
|
|
18
18
|
license: "MIT",
|
package/dist/index.cjs
CHANGED
|
@@ -1004,7 +1004,6 @@ async function javascript(options = {}) {
|
|
|
1004
1004
|
"prefer-rest-params": "error",
|
|
1005
1005
|
"prefer-spread": "error",
|
|
1006
1006
|
"prefer-template": "error",
|
|
1007
|
-
"style/brace-style": ["error", "1tbs", { allowSingleLine: true }],
|
|
1008
1007
|
"symbol-description": "error",
|
|
1009
1008
|
"unicode-bom": ["error", "never"],
|
|
1010
1009
|
"unused-imports/no-unused-imports": isInEditor ? "off" : "error",
|
|
@@ -2020,7 +2019,6 @@ async function typescript(options = {}) {
|
|
|
2020
2019
|
"dot-notation": "off",
|
|
2021
2020
|
"no-implied-eval": "off",
|
|
2022
2021
|
"ts/await-thenable": "error",
|
|
2023
|
-
"ts/brace-style": ["error", "1tbs", { allowSingleLine: true }],
|
|
2024
2022
|
"ts/dot-notation": ["error", { allowKeywords: true }],
|
|
2025
2023
|
"ts/no-floating-promises": "error",
|
|
2026
2024
|
"ts/no-for-in-array": "error",
|
package/dist/index.js
CHANGED
|
@@ -891,7 +891,6 @@ async function javascript(options = {}) {
|
|
|
891
891
|
"prefer-rest-params": "error",
|
|
892
892
|
"prefer-spread": "error",
|
|
893
893
|
"prefer-template": "error",
|
|
894
|
-
"style/brace-style": ["error", "1tbs", { allowSingleLine: true }],
|
|
895
894
|
"symbol-description": "error",
|
|
896
895
|
"unicode-bom": ["error", "never"],
|
|
897
896
|
"unused-imports/no-unused-imports": isInEditor ? "off" : "error",
|
|
@@ -1907,7 +1906,6 @@ async function typescript(options = {}) {
|
|
|
1907
1906
|
"dot-notation": "off",
|
|
1908
1907
|
"no-implied-eval": "off",
|
|
1909
1908
|
"ts/await-thenable": "error",
|
|
1910
|
-
"ts/brace-style": ["error", "1tbs", { allowSingleLine: true }],
|
|
1911
1909
|
"ts/dot-notation": ["error", { allowKeywords: true }],
|
|
1912
1910
|
"ts/no-floating-promises": "error",
|
|
1913
1911
|
"ts/no-for-in-array": "error",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2030/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.2",
|
|
5
5
|
"description": "Shareable ESLint config for conventional coding style",
|
|
6
6
|
"author": "Dai Jun <zijun2030@163.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"typescript": "^5.6.2",
|
|
155
155
|
"vitest": "^2.1.1",
|
|
156
156
|
"vue": "^3.5.9",
|
|
157
|
-
"@2030/eslint-config": "2.0.
|
|
157
|
+
"@2030/eslint-config": "2.0.2"
|
|
158
158
|
},
|
|
159
159
|
"resolutions": {
|
|
160
160
|
"@eslint-community/eslint-utils": "^4.4.0",
|