@so1ve/eslint-config 3.0.0 → 3.1.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/dist/index.js CHANGED
@@ -31824,7 +31824,7 @@ async function formatting(options) {
31824
31824
  ]
31825
31825
  }
31826
31826
  },
31827
- (options.jsonc ?? true) && [
31827
+ (options?.jsonc ?? true) && [
31828
31828
  {
31829
31829
  name: "so1ve/formatting/rules/sort-package-json",
31830
31830
  files: [GLOB_PACKAGEJSON],
@@ -31965,7 +31965,7 @@ async function formatting(options) {
31965
31965
  }
31966
31966
  }
31967
31967
  ],
31968
- (options.test ?? true) && {
31968
+ (options?.test ?? true) && {
31969
31969
  name: "so1ve/formatting/rules/test",
31970
31970
  files: GLOB_TESTS,
31971
31971
  rules: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@so1ve/eslint-config",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
5
5
  "type": "module",
6
6
  "description": "Ray's eslint config.",
@@ -38,7 +38,6 @@
38
38
  "@stylistic/eslint-plugin": "^2.1.0",
39
39
  "@unocss/eslint-config": "^0.60.4",
40
40
  "eslint-config-flat-gitignore": "^0.1.5",
41
- "eslint-define-config": "^1.21.0",
42
41
  "eslint-flat-config-utils": "^0.2.5",
43
42
  "eslint-import-resolver-typescript": "^3.6.1",
44
43
  "eslint-mdx": "^2.3.4",
@@ -69,8 +68,8 @@
69
68
  "typescript-eslint": "^7.12.0",
70
69
  "vue-eslint-parser": "^9.4.3",
71
70
  "yaml-eslint-parser": "^1.2.3",
72
- "@so1ve/eslint-plugin": "3.0.0",
73
- "@so1ve/eslint-plugin-sort-imports": "3.0.0"
71
+ "@so1ve/eslint-plugin-sort-imports": "3.1.0",
72
+ "@so1ve/eslint-plugin": "3.1.0"
74
73
  },
75
74
  "devDependencies": {
76
75
  "@typescript-eslint/utils": "^7.12.0",
@@ -81,7 +80,8 @@
81
80
  "prettier": "^3.0.0"
82
81
  },
83
82
  "scripts": {
84
- "build": "tsup",
83
+ "build": "nr typegen && tsup",
84
+ "typegen": "tsx ./scripts/typegen.ts",
85
85
  "watch": "tsup --watch"
86
86
  }
87
87
  }