@typescript-eslint/typescript-estree 8.71.3-alpha.1 → 8.71.3-alpha.3

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.
@@ -199,6 +199,12 @@ function checkModifiers(node) {
199
199
  node.kind !== SyntaxKind.SetAccessor) {
200
200
  throw (0, node_utils_1.createError)(modifier, `'${ts.tokenToString(modifier.kind)}' modifier can only appear on a class, method, or property declaration.`);
201
201
  }
202
+ if (modifier.kind === SyntaxKind.ExportKeyword &&
203
+ modifiers
204
+ .slice(0, modifiers.indexOf(modifier))
205
+ .some(m => m.kind === SyntaxKind.AbstractKeyword)) {
206
+ throw (0, node_utils_1.createError)(modifier, "'export' modifier must precede 'abstract' modifier.");
207
+ }
202
208
  if ((modifier.kind === SyntaxKind.StaticKeyword ||
203
209
  modifier.kind === SyntaxKind.PublicKeyword ||
204
210
  modifier.kind === SyntaxKind.ProtectedKeyword ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/typescript-estree",
3
- "version": "8.71.3-alpha.1",
3
+ "version": "8.71.3-alpha.3",
4
4
  "description": "A parser that converts TypeScript source code into an ESTree compatible form",
5
5
  "files": [
6
6
  "dist",
@@ -43,10 +43,10 @@
43
43
  "syntax"
44
44
  ],
45
45
  "dependencies": {
46
- "@typescript-eslint/project-service": "8.71.3-alpha.1",
47
- "@typescript-eslint/tsconfig-utils": "8.71.3-alpha.1",
48
- "@typescript-eslint/types": "8.71.3-alpha.1",
49
- "@typescript-eslint/visitor-keys": "8.71.3-alpha.1",
46
+ "@typescript-eslint/project-service": "8.71.3-alpha.3",
47
+ "@typescript-eslint/tsconfig-utils": "8.71.3-alpha.3",
48
+ "@typescript-eslint/types": "8.71.3-alpha.3",
49
+ "@typescript-eslint/visitor-keys": "8.71.3-alpha.3",
50
50
  "debug": "^4.4.3",
51
51
  "minimatch": "^10.2.2",
52
52
  "semver": "^7.7.3",