@typescript-eslint/experimental-utils 4.29.4-alpha.4 → 4.30.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 (42) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/_ts3.4/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +48 -0
  3. package/_ts3.4/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +76 -0
  4. package/_ts3.4/dist/ast-utils/eslint-utils/astUtilities.d.ts +82 -0
  5. package/_ts3.4/dist/ast-utils/eslint-utils/index.d.ts +6 -0
  6. package/_ts3.4/dist/ast-utils/eslint-utils/predicates.d.ts +32 -0
  7. package/_ts3.4/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +18 -0
  8. package/_ts3.4/dist/ast-utils/index.d.ts +4 -0
  9. package/_ts3.4/dist/ast-utils/misc.d.ts +8 -0
  10. package/_ts3.4/dist/ast-utils/predicates.d.ts +62 -0
  11. package/_ts3.4/dist/eslint-utils/InferTypesFromRule.d.ts +11 -0
  12. package/_ts3.4/dist/eslint-utils/RuleCreator.d.ts +13 -0
  13. package/_ts3.4/dist/eslint-utils/RuleTester.d.ts +18 -0
  14. package/_ts3.4/dist/eslint-utils/applyDefault.d.ts +10 -0
  15. package/_ts3.4/dist/eslint-utils/batchedSingleLineTests.d.ts +24 -0
  16. package/_ts3.4/dist/eslint-utils/deepMerge.d.ts +17 -0
  17. package/_ts3.4/dist/eslint-utils/getParserServices.d.ts +8 -0
  18. package/_ts3.4/dist/eslint-utils/index.d.ts +8 -0
  19. package/_ts3.4/dist/index.d.ts +8 -0
  20. package/_ts3.4/dist/json-schema.d.ts +2 -0
  21. package/_ts3.4/dist/ts-eslint/AST.d.ts +9 -0
  22. package/_ts3.4/dist/ts-eslint/CLIEngine.d.ts +143 -0
  23. package/_ts3.4/dist/ts-eslint/ESLint.d.ts +341 -0
  24. package/_ts3.4/dist/ts-eslint/Linter.d.ts +326 -0
  25. package/_ts3.4/dist/ts-eslint/ParserOptions.d.ts +2 -0
  26. package/_ts3.4/dist/ts-eslint/Rule.d.ts +381 -0
  27. package/_ts3.4/dist/ts-eslint/RuleTester.d.ts +148 -0
  28. package/_ts3.4/dist/ts-eslint/Scope.d.ts +44 -0
  29. package/_ts3.4/dist/ts-eslint/SourceCode.d.ts +352 -0
  30. package/_ts3.4/dist/ts-eslint/index.d.ts +10 -0
  31. package/_ts3.4/dist/ts-eslint-scope/Definition.d.ts +19 -0
  32. package/_ts3.4/dist/ts-eslint-scope/Options.d.ts +15 -0
  33. package/_ts3.4/dist/ts-eslint-scope/PatternVisitor.d.ts +25 -0
  34. package/_ts3.4/dist/ts-eslint-scope/Reference.d.ts +28 -0
  35. package/_ts3.4/dist/ts-eslint-scope/Referencer.d.ts +55 -0
  36. package/_ts3.4/dist/ts-eslint-scope/Scope.d.ts +103 -0
  37. package/_ts3.4/dist/ts-eslint-scope/ScopeManager.d.ts +50 -0
  38. package/_ts3.4/dist/ts-eslint-scope/Variable.d.ts +17 -0
  39. package/_ts3.4/dist/ts-eslint-scope/analyze.d.ts +16 -0
  40. package/_ts3.4/dist/ts-eslint-scope/index.d.ts +11 -0
  41. package/_ts3.4/dist/ts-estree.d.ts +3 -0
  42. package/package.json +5 -5
@@ -0,0 +1,17 @@
1
+ import { TSESTree } from '../ts-estree';
2
+ import { Reference } from './Reference';
3
+ import { Definition } from './Definition';
4
+ import { Scope } from './Scope';
5
+ interface Variable {
6
+ name: string;
7
+ identifiers: TSESTree.Identifier[];
8
+ references: Reference[];
9
+ defs: Definition[];
10
+ eslintUsed?: boolean;
11
+ stack?: unknown;
12
+ tainted?: boolean;
13
+ scope?: Scope;
14
+ }
15
+ declare const Variable: new () => Variable;
16
+ export { Variable };
17
+ //# sourceMappingURL=Variable.d.ts.map
@@ -0,0 +1,16 @@
1
+ import { EcmaVersion } from '../ts-eslint';
2
+ import { TSESTree } from '../ts-estree';
3
+ import { ScopeManager } from './ScopeManager';
4
+ interface AnalysisOptions {
5
+ optimistic?: boolean;
6
+ directive?: boolean;
7
+ ignoreEval?: boolean;
8
+ nodejsScope?: boolean;
9
+ impliedStrict?: boolean;
10
+ fallback?: string | ((node: TSESTree.Node) => string[]);
11
+ sourceType?: 'script' | 'module';
12
+ ecmaVersion?: EcmaVersion;
13
+ }
14
+ declare const analyze: (ast: TSESTree.Node, options?: AnalysisOptions | undefined) => ScopeManager;
15
+ export { analyze, AnalysisOptions };
16
+ //# sourceMappingURL=analyze.d.ts.map
@@ -0,0 +1,11 @@
1
+ export * from './analyze';
2
+ export * from './Definition';
3
+ export * from './Options';
4
+ export * from './PatternVisitor';
5
+ export * from './Reference';
6
+ export * from './Referencer';
7
+ export * from './Scope';
8
+ export * from './ScopeManager';
9
+ export * from './Variable';
10
+ export declare const version: string;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { AST_NODE_TYPES, AST_TOKEN_TYPES, TSESTree, } from '@typescript-eslint/types';
2
+ export { ParserServices } from '@typescript-eslint/typescript-estree/dist/parser-options';
3
+ //# sourceMappingURL=ts-estree.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/experimental-utils",
3
- "version": "4.29.4-alpha.4+71dd2736",
3
+ "version": "4.30.0",
4
4
  "description": "(Experimental) Utilities for working with TypeScript + ESLint together",
5
5
  "keywords": [
6
6
  "eslint",
@@ -40,9 +40,9 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@types/json-schema": "^7.0.7",
43
- "@typescript-eslint/scope-manager": "4.29.4-alpha.4+71dd2736",
44
- "@typescript-eslint/types": "4.29.4-alpha.4+71dd2736",
45
- "@typescript-eslint/typescript-estree": "4.29.4-alpha.4+71dd2736",
43
+ "@typescript-eslint/scope-manager": "4.30.0",
44
+ "@typescript-eslint/types": "4.30.0",
45
+ "@typescript-eslint/typescript-estree": "4.30.0",
46
46
  "eslint-scope": "^5.1.1",
47
47
  "eslint-utils": "^3.0.0"
48
48
  },
@@ -63,5 +63,5 @@
63
63
  ]
64
64
  }
65
65
  },
66
- "gitHead": "71dd27361a1bc93b5d5eb2279d805922b10002fd"
66
+ "gitHead": "26de6459a38389fff86351c1aa0881b11dc2a76a"
67
67
  }