@2030/eslint-config 2.0.0 → 2.0.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.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.js +2 -0
- 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.1",
|
|
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.1",
|
|
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,6 +1004,7 @@ 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 }],
|
|
1007
1008
|
"symbol-description": "error",
|
|
1008
1009
|
"unicode-bom": ["error", "never"],
|
|
1009
1010
|
"unused-imports/no-unused-imports": isInEditor ? "off" : "error",
|
|
@@ -2019,6 +2020,7 @@ async function typescript(options = {}) {
|
|
|
2019
2020
|
"dot-notation": "off",
|
|
2020
2021
|
"no-implied-eval": "off",
|
|
2021
2022
|
"ts/await-thenable": "error",
|
|
2023
|
+
"ts/brace-style": ["error", "1tbs", { allowSingleLine: true }],
|
|
2022
2024
|
"ts/dot-notation": ["error", { allowKeywords: true }],
|
|
2023
2025
|
"ts/no-floating-promises": "error",
|
|
2024
2026
|
"ts/no-for-in-array": "error",
|
package/dist/index.js
CHANGED
|
@@ -891,6 +891,7 @@ 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 }],
|
|
894
895
|
"symbol-description": "error",
|
|
895
896
|
"unicode-bom": ["error", "never"],
|
|
896
897
|
"unused-imports/no-unused-imports": isInEditor ? "off" : "error",
|
|
@@ -1906,6 +1907,7 @@ async function typescript(options = {}) {
|
|
|
1906
1907
|
"dot-notation": "off",
|
|
1907
1908
|
"no-implied-eval": "off",
|
|
1908
1909
|
"ts/await-thenable": "error",
|
|
1910
|
+
"ts/brace-style": ["error", "1tbs", { allowSingleLine: true }],
|
|
1909
1911
|
"ts/dot-notation": ["error", { allowKeywords: true }],
|
|
1910
1912
|
"ts/no-floating-promises": "error",
|
|
1911
1913
|
"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.1",
|
|
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.1"
|
|
158
158
|
},
|
|
159
159
|
"resolutions": {
|
|
160
160
|
"@eslint-community/eslint-utils": "^4.4.0",
|