@typescript-eslint/eslint-plugin 8.38.1-alpha.6 → 8.38.1-alpha.8

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.
@@ -1 +1 @@
1
- {"version":3,"file":"naming-convention.d.ts","sourceRoot":"","sources":["../../src/rules/naming-convention.ts"],"names":[],"mappings":"AAOA,OAAO,EAAkB,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpE,OAAO,KAAK,EAEV,QAAQ,EAET,MAAM,2BAA2B,CAAC;AAUnC,MAAM,MAAM,UAAU,GAClB,oBAAoB,GACpB,2BAA2B,GAC3B,cAAc,GACd,mBAAmB,GACnB,eAAe,GACf,sBAAsB,CAAC;AAK3B,MAAM,MAAM,OAAO,GAAG,QAAQ,EAAE,CAAC;;AAmCjC,wBAspBG"}
1
+ {"version":3,"file":"naming-convention.d.ts","sourceRoot":"","sources":["../../src/rules/naming-convention.ts"],"names":[],"mappings":"AAOA,OAAO,EAAkB,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpE,OAAO,KAAK,EAEV,QAAQ,EAET,MAAM,2BAA2B,CAAC;AAUnC,MAAM,MAAM,UAAU,GAClB,oBAAoB,GACpB,2BAA2B,GAC3B,cAAc,GACd,mBAAmB,GACnB,eAAe,GACf,sBAAsB,CAAC;AAK3B,MAAM,MAAM,OAAO,GAAG,QAAQ,EAAE,CAAC;;AA8BjC,wBAspBG"}
@@ -29,10 +29,6 @@ const defaultCamelCaseAllTheThingsConfig = [
29
29
  format: ['PascalCase'],
30
30
  selector: 'typeLike',
31
31
  },
32
- {
33
- format: ['PascalCase'],
34
- selector: 'enumMember',
35
- },
36
32
  ];
37
33
  exports.default = (0, util_1.createRule)({
38
34
  name: 'naming-convention',
@@ -1 +1 @@
1
- {"version":3,"file":"only-throw-error.d.ts","sourceRoot":"","sources":["../../src/rules/only-throw-error.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAepD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE5C,MAAM,MAAM,OAAO,GAAG;IACpB;QACE,KAAK,CAAC,EAAE,oBAAoB,EAAE,CAAC;QAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAC;KAChC;CACF,CAAC;;AAEF,wBA4JG"}
1
+ {"version":3,"file":"only-throw-error.d.ts","sourceRoot":"","sources":["../../src/rules/only-throw-error.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAepD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE5C,MAAM,MAAM,OAAO,GAAG;IACpB;QACE,KAAK,CAAC,EAAE,oBAAoB,EAAE,CAAC;QAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAC;KAChC;CACF,CAAC;;AAEF,wBAqJG"}
@@ -126,10 +126,6 @@ exports.default = (0, util_1.createRule)({
126
126
  return false;
127
127
  }
128
128
  function checkThrowArgument(node) {
129
- if (node.type === utils_1.AST_NODE_TYPES.AwaitExpression ||
130
- node.type === utils_1.AST_NODE_TYPES.YieldExpression) {
131
- return;
132
- }
133
129
  if (options.allowRethrowing && isRethrownError(node)) {
134
130
  return;
135
131
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/eslint-plugin",
3
- "version": "8.38.1-alpha.6",
3
+ "version": "8.38.1-alpha.8",
4
4
  "description": "TypeScript plugin for ESLint",
5
5
  "files": [
6
6
  "dist",
@@ -59,10 +59,10 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@eslint-community/regexpp": "^4.10.0",
62
- "@typescript-eslint/scope-manager": "8.38.1-alpha.6",
63
- "@typescript-eslint/type-utils": "8.38.1-alpha.6",
64
- "@typescript-eslint/utils": "8.38.1-alpha.6",
65
- "@typescript-eslint/visitor-keys": "8.38.1-alpha.6",
62
+ "@typescript-eslint/scope-manager": "8.38.1-alpha.8",
63
+ "@typescript-eslint/type-utils": "8.38.1-alpha.8",
64
+ "@typescript-eslint/utils": "8.38.1-alpha.8",
65
+ "@typescript-eslint/visitor-keys": "8.38.1-alpha.8",
66
66
  "graphemer": "^1.4.0",
67
67
  "ignore": "^7.0.0",
68
68
  "natural-compare": "^1.4.0",
@@ -71,8 +71,8 @@
71
71
  "devDependencies": {
72
72
  "@types/mdast": "^4.0.3",
73
73
  "@types/natural-compare": "*",
74
- "@typescript-eslint/rule-schema-to-typescript-types": "8.38.1-alpha.6",
75
- "@typescript-eslint/rule-tester": "8.38.1-alpha.6",
74
+ "@typescript-eslint/rule-schema-to-typescript-types": "8.38.1-alpha.8",
75
+ "@typescript-eslint/rule-tester": "8.38.1-alpha.8",
76
76
  "@vitest/coverage-v8": "^3.1.3",
77
77
  "ajv": "^6.12.6",
78
78
  "cross-fetch": "*",
@@ -92,7 +92,7 @@
92
92
  "vitest": "^3.1.3"
93
93
  },
94
94
  "peerDependencies": {
95
- "@typescript-eslint/parser": "^8.38.1-alpha.6",
95
+ "@typescript-eslint/parser": "^8.38.1-alpha.8",
96
96
  "eslint": "^8.57.0 || ^9.0.0",
97
97
  "typescript": ">=4.8.4 <6.0.0"
98
98
  },