@meteorlxy/eslint-config 3.1.0 → 3.2.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 CHANGED
@@ -30,6 +30,7 @@ Configure `.vscode/settings.json`:
30
30
  "eslint.validate": [
31
31
  "javascript",
32
32
  "javascriptreact",
33
+ "markdown",
33
34
  "typescript",
34
35
  "typescriptreact",
35
36
  "vue",
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",