@so1ve/eslint-config 3.18.0 → 3.19.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -9
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -866,6 +866,7 @@ async function mdx({ componentExts = [], overrides } = {}) {
866
866
  "ts/no-namespace": "off",
867
867
  "ts/no-redeclare": "off",
868
868
  "ts/no-require-imports": "off",
869
+ "ts/no-unused-expressions": "off",
869
870
  "ts/no-unused-vars": "off",
870
871
  "ts/no-use-before-define": "off",
871
872
  "ts/no-var-requires": "off",
@@ -1152,7 +1153,7 @@ const typescript = async ({ componentExts = [], parserOptions, overrides } = {})
1152
1153
  "ts/no-duplicate-enum-values": "error",
1153
1154
  "ts/no-empty-function": "off",
1154
1155
  "ts/no-empty-interface": "off",
1155
- "ts/no-empty-object-type": ["error", { allowInterfaces: "always" }],
1156
+ "ts/no-empty-object-type": "off",
1156
1157
  "ts/no-explicit-any": "off",
1157
1158
  "ts/no-extra-semi": "off",
1158
1159
  "ts/no-invalid-this": "error",
@@ -1182,14 +1183,6 @@ const typescript = async ({ componentExts = [], parserOptions, overrides } = {})
1182
1183
  message: "Use `bigint` instead.",
1183
1184
  fixWith: "bigint"
1184
1185
  },
1185
- Object: {
1186
- message: "The `Object` type is mostly the same as `unknown`. You probably want `Record<PropertyKey, unknown>` instead. See https://github.com/typescript-eslint/typescript-eslint/pull/848",
1187
- fixWith: "Record<PropertyKey, unknown>"
1188
- },
1189
- object: {
1190
- message: "The `object` type is hard to use. Use `Record<PropertyKey, unknown>` instead. See: https://github.com/typescript-eslint/typescript-eslint/pull/848",
1191
- fixWith: "Record<PropertyKey, unknown>"
1192
- },
1193
1186
  Function: {
1194
1187
  message: "Use `(...args: any[]) => any` instead.",
1195
1188
  fixWith: "(...args: any[]) => any"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@so1ve/eslint-config",
3
- "version": "3.18.0",
3
+ "version": "3.19.0",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
5
5
  "type": "module",
6
6
  "description": "Ray's eslint config.",
@@ -77,8 +77,8 @@
77
77
  "typescript-eslint": "^8.47.0",
78
78
  "vue-eslint-parser": "^10.2.0",
79
79
  "yaml-eslint-parser": "^1.3.0",
80
- "@so1ve/eslint-plugin-sort-imports": "3.18.0",
81
- "@so1ve/eslint-plugin": "3.18.0"
80
+ "@so1ve/eslint-plugin": "3.19.0",
81
+ "@so1ve/eslint-plugin-sort-imports": "3.19.0"
82
82
  },
83
83
  "peerDependencies": {
84
84
  "eslint": "^9.39.1",