@dhzh/eslint-config 0.25.0 → 0.26.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/README.md +2 -0
- package/dist/cli.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,6 +55,8 @@ Differences from [@antfu/eslint-config](https://github.com/antfu/eslint-config/b
|
|
|
55
55
|
|
|
56
56
|
12. Disable [`perfectionist/sort-objects`](https://perfectionist.dev/rules/sort-objects) rule.
|
|
57
57
|
|
|
58
|
+
13. Disable [`jsonc/sort-keys`](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/sort-keys.html) rule.
|
|
59
|
+
|
|
58
60
|
## Usage
|
|
59
61
|
|
|
60
62
|
> Requires ESLint v9.5.0+
|
package/dist/cli.cjs
CHANGED
|
@@ -40,7 +40,7 @@ var import_ansis = __toESM(require("ansis"), 1);
|
|
|
40
40
|
var package_default = {
|
|
41
41
|
name: "@dhzh/eslint-config",
|
|
42
42
|
type: "module",
|
|
43
|
-
version: "0.
|
|
43
|
+
version: "0.26.0",
|
|
44
44
|
packageManager: "pnpm@10.6.1",
|
|
45
45
|
description: "Lyle's ESLint config",
|
|
46
46
|
author: "Lyle Zheng <dhzhme@gmail.com>",
|
package/dist/cli.js
CHANGED
|
@@ -11,7 +11,7 @@ import c from "ansis";
|
|
|
11
11
|
var package_default = {
|
|
12
12
|
name: "@dhzh/eslint-config",
|
|
13
13
|
type: "module",
|
|
14
|
-
version: "0.
|
|
14
|
+
version: "0.26.0",
|
|
15
15
|
packageManager: "pnpm@10.6.1",
|
|
16
16
|
description: "Lyle's ESLint config",
|
|
17
17
|
author: "Lyle Zheng <dhzhme@gmail.com>",
|
package/dist/index.cjs
CHANGED
|
@@ -1144,6 +1144,7 @@ async function jsonc(options = {}) {
|
|
|
1144
1144
|
"jsonc/space-unary-ops": "error",
|
|
1145
1145
|
"jsonc/valid-json-number": "error",
|
|
1146
1146
|
"jsonc/vue-custom-block/no-parsing-error": "error",
|
|
1147
|
+
"jsonc/sort-keys": "off",
|
|
1147
1148
|
...stylistic2 ? {
|
|
1148
1149
|
"jsonc/array-bracket-spacing": ["error", "never"],
|
|
1149
1150
|
"jsonc/comma-dangle": ["error", "never"],
|
package/dist/index.js
CHANGED
|
@@ -1030,6 +1030,7 @@ async function jsonc(options = {}) {
|
|
|
1030
1030
|
"jsonc/space-unary-ops": "error",
|
|
1031
1031
|
"jsonc/valid-json-number": "error",
|
|
1032
1032
|
"jsonc/vue-custom-block/no-parsing-error": "error",
|
|
1033
|
+
"jsonc/sort-keys": "off",
|
|
1033
1034
|
...stylistic2 ? {
|
|
1034
1035
|
"jsonc/array-bracket-spacing": ["error", "never"],
|
|
1035
1036
|
"jsonc/comma-dangle": ["error", "never"],
|