@meteorlxy/eslint-config 3.1.0 → 3.1.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/index.cjs CHANGED
@@ -1257,7 +1257,8 @@ const typescriptRules = {
1257
1257
  }
1258
1258
  ],
1259
1259
  "@typescript-eslint/no-shadow": "error",
1260
- "@typescript-eslint/no-throw-literal": "error",
1260
+ "@typescript-eslint/no-throw-literal": "off",
1261
+ // deprecated
1261
1262
  "@typescript-eslint/no-unused-expressions": [
1262
1263
  "error",
1263
1264
  {
@@ -1332,6 +1333,7 @@ const typescriptRules = {
1332
1333
  "@typescript-eslint/no-unsafe-unary-minus": "error",
1333
1334
  "@typescript-eslint/no-useless-empty-export": "off",
1334
1335
  "@typescript-eslint/no-var-requires": ["error", { allow: [] }],
1336
+ "@typescript-eslint/only-throw-error": "error",
1335
1337
  "@typescript-eslint/padding-line-between-statements": "off",
1336
1338
  "@typescript-eslint/parameter-properties": [
1337
1339
  "off",
package/dist/index.mjs CHANGED
@@ -1245,7 +1245,8 @@ const typescriptRules = {
1245
1245
  }
1246
1246
  ],
1247
1247
  "@typescript-eslint/no-shadow": "error",
1248
- "@typescript-eslint/no-throw-literal": "error",
1248
+ "@typescript-eslint/no-throw-literal": "off",
1249
+ // deprecated
1249
1250
  "@typescript-eslint/no-unused-expressions": [
1250
1251
  "error",
1251
1252
  {
@@ -1320,6 +1321,7 @@ const typescriptRules = {
1320
1321
  "@typescript-eslint/no-unsafe-unary-minus": "error",
1321
1322
  "@typescript-eslint/no-useless-empty-export": "off",
1322
1323
  "@typescript-eslint/no-var-requires": ["error", { allow: [] }],
1324
+ "@typescript-eslint/only-throw-error": "error",
1323
1325
  "@typescript-eslint/padding-line-between-statements": "off",
1324
1326
  "@typescript-eslint/parameter-properties": [
1325
1327
  "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meteorlxy/eslint-config",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "meteorlxy eslint config",
5
5
  "keywords": [
6
6
  "config",
@@ -32,15 +32,15 @@
32
32
  "clean": "rimraf ./dist"
33
33
  },
34
34
  "dependencies": {
35
- "@typescript-eslint/eslint-plugin": "^7.3.1",
36
- "@typescript-eslint/parser": "^7.3.1",
37
- "@typescript-eslint/utils": "^7.3.1",
35
+ "@typescript-eslint/eslint-plugin": "^7.4.0",
36
+ "@typescript-eslint/parser": "^7.4.0",
37
+ "@typescript-eslint/utils": "^7.4.0",
38
38
  "confusing-browser-globals": "^1.0.11",
39
39
  "eslint-config-prettier": "^9.1.0",
40
40
  "eslint-plugin-eslint-comments": "^3.2.0",
41
41
  "eslint-plugin-i": "^2.29.1",
42
42
  "eslint-plugin-markdown": "^4.0.1",
43
- "globals": "^14.0.0"
43
+ "globals": "^15.0.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/confusing-browser-globals": "^1.0.3",
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "17eb49b7b8c502fde1f85618bf6f12b48042944c"
82
+ "gitHead": "0c296eb01fca436f082f92a70a61c252f4c21272"
83
83
  }