@typescript-eslint/utils 6.0.0-alpha.80 → 6.0.0-alpha.90

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.
@@ -2,19 +2,19 @@ interface PatternMatcher {
2
2
  /**
3
3
  * Iterate all matched parts in a given string.
4
4
  *
5
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#matcher-execall}
5
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#matcher-execall}
6
6
  */
7
7
  execAll(str: string): IterableIterator<RegExpExecArray>;
8
8
  /**
9
9
  * Check whether this pattern matches a given string or not.
10
10
  *
11
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#matcher-test}
11
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#matcher-test}
12
12
  */
13
13
  test(str: string): boolean;
14
14
  /**
15
15
  * Replace all matched parts by a given replacer.
16
16
  *
17
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#matcher-symbol-replace}
17
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#matcher-symbol-replace}
18
18
  * @example
19
19
  * const { PatternMatcher } = require("eslint-utils")
20
20
  * const matcher = new PatternMatcher(/\\p{Script=Greek}/g)
@@ -39,7 +39,7 @@ interface PatternMatcher {
39
39
  * The class to find a pattern in strings as handling escape sequences.
40
40
  * It ignores the found pattern if it's escaped with `\`.
41
41
  *
42
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#patternmatcher-class}
42
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#patternmatcher-class}
43
43
  */
44
44
  declare const PatternMatcher: new (pattern: RegExp, options?: {
45
45
  escaped?: boolean;
@@ -9,21 +9,21 @@ interface ReferenceTracker {
9
9
  * Iterate the references that the given `traceMap` determined.
10
10
  * This method starts to search from global variables.
11
11
  *
12
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#tracker-iterateglobalreferences}
12
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#tracker-iterateglobalreferences}
13
13
  */
14
14
  iterateGlobalReferences<T>(traceMap: ReferenceTracker.TraceMap<T>): IterableIterator<ReferenceTracker.FoundReference<T>>;
15
15
  /**
16
16
  * Iterate the references that the given `traceMap` determined.
17
17
  * This method starts to search from `require()` expression.
18
18
  *
19
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#tracker-iteratecjsreferences}
19
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#tracker-iteratecjsreferences}
20
20
  */
21
21
  iterateCjsReferences<T>(traceMap: ReferenceTracker.TraceMap<T>): IterableIterator<ReferenceTracker.FoundReference<T>>;
22
22
  /**
23
23
  * Iterate the references that the given `traceMap` determined.
24
24
  * This method starts to search from `import`/`export` declarations.
25
25
  *
26
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#tracker-iterateesmreferences}
26
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#tracker-iterateesmreferences}
27
27
  */
28
28
  iterateEsmReferences<T>(traceMap: ReferenceTracker.TraceMap<T>): IterableIterator<ReferenceTracker.FoundReference<T>>;
29
29
  }
@@ -69,7 +69,7 @@ declare namespace ReferenceTracker {
69
69
  /**
70
70
  * The tracker for references. This provides reference tracking for global variables, CommonJS modules, and ES modules.
71
71
  *
72
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#referencetracker-class}
72
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class}
73
73
  */
74
74
  declare const ReferenceTracker: ReferenceTrackerStatic;
75
75
  export { ReferenceTracker };
@@ -3,20 +3,20 @@ import type { TSESTree } from '../../ts-estree';
3
3
  /**
4
4
  * Get the proper location of a given function node to report.
5
5
  *
6
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getfunctionheadlocation}
6
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionheadlocation}
7
7
  */
8
8
  declare const getFunctionHeadLocation: (node: TSESTree.FunctionDeclaration | TSESTree.FunctionExpression | TSESTree.ArrowFunctionExpression, sourceCode: TSESLint.SourceCode) => TSESTree.SourceLocation;
9
9
  /**
10
10
  * Get the name and kind of a given function node.
11
11
  *
12
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getfunctionnamewithkind}
12
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionnamewithkind}
13
13
  */
14
14
  declare const getFunctionNameWithKind: (node: TSESTree.FunctionDeclaration | TSESTree.FunctionExpression | TSESTree.ArrowFunctionExpression, sourceCode?: TSESLint.SourceCode) => string;
15
15
  /**
16
16
  * Get the property name of a given property node.
17
17
  * If the node is a computed property, this tries to compute the property name by the getStringIfConstant function.
18
18
  *
19
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getpropertyname}
19
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getpropertyname}
20
20
  * @returns The property name of the node. If the property name is not constant then it returns `null`.
21
21
  */
22
22
  declare const getPropertyName: (node: TSESTree.MemberExpression | TSESTree.Property | TSESTree.MethodDefinition | TSESTree.PropertyDefinition, initialScope?: TSESLint.Scope.Scope) => string | null;
@@ -27,7 +27,7 @@ declare const getPropertyName: (node: TSESTree.MemberExpression | TSESTree.Prope
27
27
  * not been modified.
28
28
  * For example, it considers `Symbol.iterator`, ` String.raw``hello`` `, and `Object.freeze({a: 1}).a` as static.
29
29
  *
30
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getstaticvalue}
30
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstaticvalue}
31
31
  * @returns The `{ value: any }` shaped object. The `value` property is the static value. If it couldn't compute the
32
32
  * static value of the node, it returns `null`.
33
33
  */
@@ -38,7 +38,7 @@ declare const getStaticValue: (node: TSESTree.Node, initialScope?: TSESLint.Scop
38
38
  * Get the string value of a given node.
39
39
  * This function is a tiny wrapper of the getStaticValue function.
40
40
  *
41
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getstringifconstant}
41
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstringifconstant}
42
42
  */
43
43
  declare const getStringIfConstant: (node: TSESTree.Node, initialScope?: TSESLint.Scope.Scope) => string | null;
44
44
  /**
@@ -62,7 +62,7 @@ declare const getStringIfConstant: (node: TSESTree.Node, initialScope?: TSESLint
62
62
  * - `Property([computed = true])`
63
63
  * - `UnaryExpression([operator = "-" | "+" | "!" | "~"])`
64
64
  *
65
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#hassideeffect}
65
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#hassideeffect}
66
66
  */
67
67
  declare const hasSideEffect: (node: TSESTree.Node, sourceCode: TSESLint.SourceCode, options?: {
68
68
  considerGetters?: boolean;
@@ -3,13 +3,13 @@ import type { TSESTree } from '../../ts-estree';
3
3
  /**
4
4
  * Get the variable of a given name.
5
5
  *
6
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#findvariable}
6
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#findvariable}
7
7
  */
8
8
  declare const findVariable: (initialScope: TSESLint.Scope.Scope, nameOrNode: string | TSESTree.Identifier) => TSESLint.Scope.Variable | null;
9
9
  /**
10
10
  * Get the innermost scope which contains a given node.
11
11
  *
12
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#getinnermostscope}
12
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#getinnermostscope}
13
13
  * @returns The innermost scope which contains the given node.
14
14
  * If such scope doesn't exist then it returns the 1st argument `initialScope`.
15
15
  */
@@ -43,7 +43,7 @@ declare class RuleTester extends BaseRuleTester.RuleTester {
43
43
  * Simple no-op tag to mark code samples as "should not format with prettier"
44
44
  * for the internal/plugin-test-formatting lint rule
45
45
  */
46
- declare function noFormat(strings: TemplateStringsArray, ...keys: string[]): string;
46
+ declare function noFormat(raw: TemplateStringsArray, ...keys: string[]): string;
47
47
  export { noFormat, RuleTester };
48
48
  export type { InvalidTestCase, ValidTestCase, RunTests };
49
49
  //# sourceMappingURL=RuleTester.d.ts.map
@@ -2,19 +2,19 @@ interface PatternMatcher {
2
2
  /**
3
3
  * Iterate all matched parts in a given string.
4
4
  *
5
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#matcher-execall}
5
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#matcher-execall}
6
6
  */
7
7
  execAll(str: string): IterableIterator<RegExpExecArray>;
8
8
  /**
9
9
  * Check whether this pattern matches a given string or not.
10
10
  *
11
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#matcher-test}
11
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#matcher-test}
12
12
  */
13
13
  test(str: string): boolean;
14
14
  /**
15
15
  * Replace all matched parts by a given replacer.
16
16
  *
17
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#matcher-symbol-replace}
17
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#matcher-symbol-replace}
18
18
  * @example
19
19
  * const { PatternMatcher } = require("eslint-utils")
20
20
  * const matcher = new PatternMatcher(/\\p{Script=Greek}/g)
@@ -39,7 +39,7 @@ interface PatternMatcher {
39
39
  * The class to find a pattern in strings as handling escape sequences.
40
40
  * It ignores the found pattern if it's escaped with `\`.
41
41
  *
42
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#patternmatcher-class}
42
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#patternmatcher-class}
43
43
  */
44
44
  declare const PatternMatcher: new (pattern: RegExp, options?: {
45
45
  escaped?: boolean;
@@ -24,12 +24,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.PatternMatcher = void 0;
27
- const eslintUtils = __importStar(require("eslint-utils"));
27
+ const eslintUtils = __importStar(require("@eslint-community/eslint-utils"));
28
28
  /**
29
29
  * The class to find a pattern in strings as handling escape sequences.
30
30
  * It ignores the found pattern if it's escaped with `\`.
31
31
  *
32
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#patternmatcher-class}
32
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#patternmatcher-class}
33
33
  */
34
34
  const PatternMatcher = eslintUtils.PatternMatcher;
35
35
  exports.PatternMatcher = PatternMatcher;
@@ -1 +1 @@
1
- {"version":3,"file":"PatternMatcher.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/PatternMatcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AA6C5C;;;;;GAKG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAElC,CAAC;AAEO,wCAAc"}
1
+ {"version":3,"file":"PatternMatcher.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/PatternMatcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AA6C9D;;;;;GAKG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAElC,CAAC;AAEO,wCAAc"}
@@ -9,21 +9,21 @@ interface ReferenceTracker {
9
9
  * Iterate the references that the given `traceMap` determined.
10
10
  * This method starts to search from global variables.
11
11
  *
12
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#tracker-iterateglobalreferences}
12
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#tracker-iterateglobalreferences}
13
13
  */
14
14
  iterateGlobalReferences<T>(traceMap: ReferenceTracker.TraceMap<T>): IterableIterator<ReferenceTracker.FoundReference<T>>;
15
15
  /**
16
16
  * Iterate the references that the given `traceMap` determined.
17
17
  * This method starts to search from `require()` expression.
18
18
  *
19
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#tracker-iteratecjsreferences}
19
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#tracker-iteratecjsreferences}
20
20
  */
21
21
  iterateCjsReferences<T>(traceMap: ReferenceTracker.TraceMap<T>): IterableIterator<ReferenceTracker.FoundReference<T>>;
22
22
  /**
23
23
  * Iterate the references that the given `traceMap` determined.
24
24
  * This method starts to search from `import`/`export` declarations.
25
25
  *
26
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#tracker-iterateesmreferences}
26
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#tracker-iterateesmreferences}
27
27
  */
28
28
  iterateEsmReferences<T>(traceMap: ReferenceTracker.TraceMap<T>): IterableIterator<ReferenceTracker.FoundReference<T>>;
29
29
  }
@@ -69,7 +69,7 @@ declare namespace ReferenceTracker {
69
69
  /**
70
70
  * The tracker for references. This provides reference tracking for global variables, CommonJS modules, and ES modules.
71
71
  *
72
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#referencetracker-class}
72
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class}
73
73
  */
74
74
  declare const ReferenceTracker: ReferenceTrackerStatic;
75
75
  export { ReferenceTracker };
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.ReferenceTracker = void 0;
27
27
  /* eslint-disable @typescript-eslint/no-namespace */
28
- const eslintUtils = __importStar(require("eslint-utils"));
28
+ const eslintUtils = __importStar(require("@eslint-community/eslint-utils"));
29
29
  const ReferenceTrackerREAD = eslintUtils.ReferenceTracker.READ;
30
30
  const ReferenceTrackerCALL = eslintUtils.ReferenceTracker.CALL;
31
31
  const ReferenceTrackerCONSTRUCT = eslintUtils.ReferenceTracker.CONSTRUCT;
@@ -33,7 +33,7 @@ const ReferenceTrackerESM = eslintUtils.ReferenceTracker.ESM;
33
33
  /**
34
34
  * The tracker for references. This provides reference tracking for global variables, CommonJS modules, and ES modules.
35
35
  *
36
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#referencetracker-class}
36
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class}
37
37
  */
38
38
  const ReferenceTracker = eslintUtils.ReferenceTracker;
39
39
  exports.ReferenceTracker = ReferenceTracker;
@@ -1 +1 @@
1
- {"version":3,"file":"ReferenceTracker.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/ReferenceTracker.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAoD;AACpD,0DAA4C;AAK5C,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,yBAAyB,GAC7B,WAAW,CAAC,gBAAgB,CAAC,SAAS,CAAC;AACzC,MAAM,mBAAmB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,GAAG,CAAC;AAgF5E;;;;GAIG;AACH,MAAM,gBAAgB,GAAG,WAAW,CAAC,gBAA0C,CAAC;AAEvE,4CAAgB"}
1
+ {"version":3,"file":"ReferenceTracker.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/ReferenceTracker.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAoD;AACpD,4EAA8D;AAK9D,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,oBAAoB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAC9E,MAAM,yBAAyB,GAC7B,WAAW,CAAC,gBAAgB,CAAC,SAAS,CAAC;AACzC,MAAM,mBAAmB,GAAkB,WAAW,CAAC,gBAAgB,CAAC,GAAG,CAAC;AAgF5E;;;;GAIG;AACH,MAAM,gBAAgB,GAAG,WAAW,CAAC,gBAA0C,CAAC;AAEvE,4CAAgB"}
@@ -3,20 +3,20 @@ import type { TSESTree } from '../../ts-estree';
3
3
  /**
4
4
  * Get the proper location of a given function node to report.
5
5
  *
6
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getfunctionheadlocation}
6
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionheadlocation}
7
7
  */
8
8
  declare const getFunctionHeadLocation: (node: TSESTree.FunctionDeclaration | TSESTree.FunctionExpression | TSESTree.ArrowFunctionExpression, sourceCode: TSESLint.SourceCode) => TSESTree.SourceLocation;
9
9
  /**
10
10
  * Get the name and kind of a given function node.
11
11
  *
12
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getfunctionnamewithkind}
12
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionnamewithkind}
13
13
  */
14
14
  declare const getFunctionNameWithKind: (node: TSESTree.FunctionDeclaration | TSESTree.FunctionExpression | TSESTree.ArrowFunctionExpression, sourceCode?: TSESLint.SourceCode) => string;
15
15
  /**
16
16
  * Get the property name of a given property node.
17
17
  * If the node is a computed property, this tries to compute the property name by the getStringIfConstant function.
18
18
  *
19
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getpropertyname}
19
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getpropertyname}
20
20
  * @returns The property name of the node. If the property name is not constant then it returns `null`.
21
21
  */
22
22
  declare const getPropertyName: (node: TSESTree.MemberExpression | TSESTree.Property | TSESTree.MethodDefinition | TSESTree.PropertyDefinition, initialScope?: TSESLint.Scope.Scope) => string | null;
@@ -27,7 +27,7 @@ declare const getPropertyName: (node: TSESTree.MemberExpression | TSESTree.Prope
27
27
  * not been modified.
28
28
  * For example, it considers `Symbol.iterator`, ` String.raw``hello`` `, and `Object.freeze({a: 1}).a` as static.
29
29
  *
30
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getstaticvalue}
30
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstaticvalue}
31
31
  * @returns The `{ value: any }` shaped object. The `value` property is the static value. If it couldn't compute the
32
32
  * static value of the node, it returns `null`.
33
33
  */
@@ -38,7 +38,7 @@ declare const getStaticValue: (node: TSESTree.Node, initialScope?: TSESLint.Scop
38
38
  * Get the string value of a given node.
39
39
  * This function is a tiny wrapper of the getStaticValue function.
40
40
  *
41
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getstringifconstant}
41
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstringifconstant}
42
42
  */
43
43
  declare const getStringIfConstant: (node: TSESTree.Node, initialScope?: TSESLint.Scope.Scope) => string | null;
44
44
  /**
@@ -62,7 +62,7 @@ declare const getStringIfConstant: (node: TSESTree.Node, initialScope?: TSESLint
62
62
  * - `Property([computed = true])`
63
63
  * - `UnaryExpression([operator = "-" | "+" | "!" | "~"])`
64
64
  *
65
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#hassideeffect}
65
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#hassideeffect}
66
66
  */
67
67
  declare const hasSideEffect: (node: TSESTree.Node, sourceCode: TSESLint.SourceCode, options?: {
68
68
  considerGetters?: boolean;
@@ -24,18 +24,18 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.isParenthesized = exports.hasSideEffect = exports.getStringIfConstant = exports.getStaticValue = exports.getPropertyName = exports.getFunctionNameWithKind = exports.getFunctionHeadLocation = void 0;
27
- const eslintUtils = __importStar(require("eslint-utils"));
27
+ const eslintUtils = __importStar(require("@eslint-community/eslint-utils"));
28
28
  /**
29
29
  * Get the proper location of a given function node to report.
30
30
  *
31
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getfunctionheadlocation}
31
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionheadlocation}
32
32
  */
33
33
  const getFunctionHeadLocation = eslintUtils.getFunctionHeadLocation;
34
34
  exports.getFunctionHeadLocation = getFunctionHeadLocation;
35
35
  /**
36
36
  * Get the name and kind of a given function node.
37
37
  *
38
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getfunctionnamewithkind}
38
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionnamewithkind}
39
39
  */
40
40
  const getFunctionNameWithKind = eslintUtils.getFunctionNameWithKind;
41
41
  exports.getFunctionNameWithKind = getFunctionNameWithKind;
@@ -43,7 +43,7 @@ exports.getFunctionNameWithKind = getFunctionNameWithKind;
43
43
  * Get the property name of a given property node.
44
44
  * If the node is a computed property, this tries to compute the property name by the getStringIfConstant function.
45
45
  *
46
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getpropertyname}
46
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getpropertyname}
47
47
  * @returns The property name of the node. If the property name is not constant then it returns `null`.
48
48
  */
49
49
  const getPropertyName = eslintUtils.getPropertyName;
@@ -55,7 +55,7 @@ exports.getPropertyName = getPropertyName;
55
55
  * not been modified.
56
56
  * For example, it considers `Symbol.iterator`, ` String.raw``hello`` `, and `Object.freeze({a: 1}).a` as static.
57
57
  *
58
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getstaticvalue}
58
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstaticvalue}
59
59
  * @returns The `{ value: any }` shaped object. The `value` property is the static value. If it couldn't compute the
60
60
  * static value of the node, it returns `null`.
61
61
  */
@@ -65,7 +65,7 @@ exports.getStaticValue = getStaticValue;
65
65
  * Get the string value of a given node.
66
66
  * This function is a tiny wrapper of the getStaticValue function.
67
67
  *
68
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#getstringifconstant}
68
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstringifconstant}
69
69
  */
70
70
  const getStringIfConstant = eslintUtils.getStringIfConstant;
71
71
  exports.getStringIfConstant = getStringIfConstant;
@@ -90,7 +90,7 @@ exports.getStringIfConstant = getStringIfConstant;
90
90
  * - `Property([computed = true])`
91
91
  * - `UnaryExpression([operator = "-" | "+" | "!" | "~"])`
92
92
  *
93
- * @see {@link https://eslint-utils.mysticatea.dev/api/ast-utils.html#hassideeffect}
93
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#hassideeffect}
94
94
  */
95
95
  const hasSideEffect = eslintUtils.hasSideEffect;
96
96
  exports.hasSideEffect = hasSideEffect;
@@ -1 +1 @@
1
- {"version":3,"file":"astUtilities.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/astUtilities.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAK5C;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMhB,CAAC;AA6G3B,0DAAuB;AA3GzB;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMjC,CAAC;AAiGV,0DAAuB;AA/FzB;;;;;;GAMG;AACH,MAAM,eAAe,GAAG,WAAW,CAAC,eAOlB,CAAC;AAkFjB,0CAAe;AAhFjB;;;;;;;;;;GAUG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAGL,CAAC;AAmE7B,wCAAc;AAjEhB;;;;;GAKG;AACH,MAAM,mBAAmB,GAAG,WAAW,CAAC,mBAGtB,CAAC;AAyDjB,kDAAmB;AAvDrB;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,aAAa,GAAG,WAAW,CAAC,aAOtB,CAAC;AA0BX,sCAAa;AAxBf,MAAM,eAAe,GAAG,WAAW,CAAC,eAgBnC,CAAC;AASA,0CAAe"}
1
+ {"version":3,"file":"astUtilities.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/astUtilities.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAK9D;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMhB,CAAC;AA6G3B,0DAAuB;AA3GzB;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAMjC,CAAC;AAiGV,0DAAuB;AA/FzB;;;;;;GAMG;AACH,MAAM,eAAe,GAAG,WAAW,CAAC,eAOlB,CAAC;AAkFjB,0CAAe;AAhFjB;;;;;;;;;;GAUG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC,cAGL,CAAC;AAmE7B,wCAAc;AAjEhB;;;;;GAKG;AACH,MAAM,mBAAmB,GAAG,WAAW,CAAC,mBAGtB,CAAC;AAyDjB,kDAAmB;AAvDrB;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,aAAa,GAAG,WAAW,CAAC,aAOtB,CAAC;AA0BX,sCAAa;AAxBf,MAAM,eAAe,GAAG,WAAW,CAAC,eAgBnC,CAAC;AASA,0CAAe"}
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.isSemicolonToken = exports.isOpeningParenToken = exports.isOpeningBracketToken = exports.isOpeningBraceToken = exports.isNotSemicolonToken = exports.isNotOpeningParenToken = exports.isNotOpeningBracketToken = exports.isNotOpeningBraceToken = exports.isNotCommentToken = exports.isNotCommaToken = exports.isNotColonToken = exports.isNotClosingParenToken = exports.isNotClosingBracketToken = exports.isNotClosingBraceToken = exports.isNotArrowToken = exports.isCommentToken = exports.isCommaToken = exports.isColonToken = exports.isClosingParenToken = exports.isClosingBracketToken = exports.isClosingBraceToken = exports.isArrowToken = void 0;
27
- const eslintUtils = __importStar(require("eslint-utils"));
27
+ const eslintUtils = __importStar(require("@eslint-community/eslint-utils"));
28
28
  const isArrowToken = eslintUtils.isArrowToken;
29
29
  exports.isArrowToken = isArrowToken;
30
30
  const isNotArrowToken = eslintUtils.isN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uCpE,oCAAY;AAtCd,MAAM,eAAe,GACnB,WAAW,CAAC,eAA6D,CAAC;AA4C1E,0CAAe;AA1CjB,MAAM,YAAY,GAChB,WAAW,CAAC,YAAuD,CAAC;AAmCpE,oCAAY;AAlCd,MAAM,eAAe,GACnB,WAAW,CAAC,eAA6D,CAAC;AAwC1E,0CAAe;AAtCjB,MAAM,cAAc,GAClB,WAAW,CAAC,cAA2D,CAAC;AA+BxE,wCAAc;AA9BhB,MAAM,iBAAiB,GACrB,WAAW,CAAC,iBAAiE,CAAC;AAoC9E,8CAAiB;AAlCnB,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AAsC3E,kDAAmB;AArCrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAgCjF,wDAAsB;AA9BxB,MAAM,qBAAqB,GACzB,WAAW,CAAC,qBAAgE,CAAC;AAkC7E,sDAAqB;AAjCvB,MAAM,wBAAwB,GAC5B,WAAW,CAAC,wBAAsE,CAAC;AA4BnF,4DAAwB;AA1B1B,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAA8D,CAAC;AA8B3E,kDAAmB;AA7BrB,MAAM,sBAAsB,GAC1B,WAAW,CAAC,sBAAoE,CAAC;AAwBjF,wDAAsB;AAtBxB,MAAM,gBAAgB,GACpB,WAAW,CAAC,gBAA2D,CAAC;AA0BxE,4CAAgB;AAzBlB,MAAM,mBAAmB,GACvB,WAAW,CAAC,mBAAiE,CAAC;AAoB9E,kDAAmB"}
@@ -3,13 +3,13 @@ import type { TSESTree } from '../../ts-estree';
3
3
  /**
4
4
  * Get the variable of a given name.
5
5
  *
6
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#findvariable}
6
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#findvariable}
7
7
  */
8
8
  declare const findVariable: (initialScope: TSESLint.Scope.Scope, nameOrNode: string | TSESTree.Identifier) => TSESLint.Scope.Variable | null;
9
9
  /**
10
10
  * Get the innermost scope which contains a given node.
11
11
  *
12
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#getinnermostscope}
12
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#getinnermostscope}
13
13
  * @returns The innermost scope which contains the given node.
14
14
  * If such scope doesn't exist then it returns the 1st argument `initialScope`.
15
15
  */
@@ -24,18 +24,18 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.getInnermostScope = exports.findVariable = void 0;
27
- const eslintUtils = __importStar(require("eslint-utils"));
27
+ const eslintUtils = __importStar(require("@eslint-community/eslint-utils"));
28
28
  /**
29
29
  * Get the variable of a given name.
30
30
  *
31
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#findvariable}
31
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#findvariable}
32
32
  */
33
33
  const findVariable = eslintUtils.findVariable;
34
34
  exports.findVariable = findVariable;
35
35
  /**
36
36
  * Get the innermost scope which contains a given node.
37
37
  *
38
- * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#getinnermostscope}
38
+ * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#getinnermostscope}
39
39
  * @returns The innermost scope which contains the given node.
40
40
  * If such scope doesn't exist then it returns the 1st argument `initialScope`.
41
41
  */
@@ -1 +1 @@
1
- {"version":3,"file":"scopeAnalysis.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/scopeAnalysis.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAK5C;;;;GAIG;AACH,MAAM,YAAY,GAAG,WAAW,CAAC,YAGE,CAAC;AAc3B,oCAAY;AAZrB;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAG,WAAW,CAAC,iBAGb,CAAC;AAEH,8CAAiB"}
1
+ {"version":3,"file":"scopeAnalysis.js","sourceRoot":"","sources":["../../../src/ast-utils/eslint-utils/scopeAnalysis.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAK9D;;;;GAIG;AACH,MAAM,YAAY,GAAG,WAAW,CAAC,YAGE,CAAC;AAc3B,oCAAY;AAZrB;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAG,WAAW,CAAC,iBAGb,CAAC;AAEH,8CAAiB"}
@@ -43,7 +43,7 @@ declare class RuleTester extends BaseRuleTester.RuleTester {
43
43
  * Simple no-op tag to mark code samples as "should not format with prettier"
44
44
  * for the internal/plugin-test-formatting lint rule
45
45
  */
46
- declare function noFormat(strings: TemplateStringsArray, ...keys: string[]): string;
46
+ declare function noFormat(raw: TemplateStringsArray, ...keys: string[]): string;
47
47
  export { noFormat, RuleTester };
48
48
  export type { InvalidTestCase, ValidTestCase, RunTests };
49
49
  //# sourceMappingURL=RuleTester.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RuleTester.d.ts","sourceRoot":"","sources":["../../../src/eslint-utils/rule-tester/RuleTester.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAC;AAE7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAGpE,QAAA,MAAM,gBAAgB,8BAA8B,CAAC;AAGrD,KAAK,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,gBAAgB,EAAE,QAAQ,CAAC,GAAG;IACxE,MAAM,EAAE,OAAO,gBAAgB,CAAC;IAChC;;OAEG;IACH,qBAAqB,CAAC,EAAE,oBAAoB,CAAC;CAC9C,CAAC;AAEF,UAAU,eAAe,CACvB,WAAW,SAAS,MAAM,EAC1B,QAAQ,SAAS,QAAQ,CAAC,OAAO,EAAE,CAAC,CACpC,SAAQ,cAAc,CAAC,eAAe,CAAC,WAAW,EAAE,QAAQ,CAAC;IAC7D;;OAEG;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,CAAC,EAAE,CAAC;CACrE;AAED,KAAK,QAAQ,GAAG,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;AAezC,cAAM,UAAW,SAAQ,cAAc,CAAC,UAAU;;IAIhD;;;OAGG;IACH,MAAM,KAAK,QAAQ,IAAI,QAAQ,CAK9B;IACD,MAAM,KAAK,QAAQ,CAAC,KAAK,EAAE,QAAQ,GAAG,SAAS,EAE9C;IAED,OAAO,KAAK,UAAU,GAGrB;gBAEW,WAAW,EAAE,gBAAgB;IAiCzC,OAAO,CAAC,WAAW;IAoBnB,GAAG,CAAC,WAAW,SAAS,MAAM,EAAE,QAAQ,SAAS,QAAQ,CAAC,OAAO,EAAE,CAAC,EAClE,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,UAAU,CAAC,WAAW,EAAE,QAAQ,CAAC,EACvC,aAAa,EAAE,QAAQ,CAAC,WAAW,EAAE,QAAQ,CAAC,GAC7C,IAAI;CA6JR;AAED;;;GAGG;AACH,iBAAS,QAAQ,CAAC,GAAG,EAAE,oBAAoB,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAEtE;AAED,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;AAChC,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,QAAQ,EAAE,CAAC"}
@@ -243,10 +243,8 @@ _RuleTester_afterAll = { value: void 0 };
243
243
  * Simple no-op tag to mark code samples as "should not format with prettier"
244
244
  * for the internal/plugin-test-formatting lint rule
245
245
  */
246
- function noFormat(strings, ...keys) {
247
- const lastIndex = strings.length - 1;
248
- return (strings.slice(0, lastIndex).reduce((p, s, i) => p + s + keys[i], '') +
249
- strings[lastIndex]);
246
+ function noFormat(raw, ...keys) {
247
+ return String.raw({ raw }, ...keys);
250
248
  }
251
249
  exports.noFormat = noFormat;
252
250
  //# sourceMappingURL=RuleTester.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RuleTester.js","sourceRoot":"","sources":["../../../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F,MAAM,eAAe,GAAG,CAKtB,IAAO,EACJ,EAAE;wBACL,OAAO;4BACL,GAAG,IAAI;4BACP,IAAI,EAAE,IAAA,yDAAiC,EACrC,IAAI,CAAC,qBAAqB,CAC3B;yBACF,CAAC;oBACJ,CAAC,CAAC;oBAEF,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;oBAC/C,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;iBACpD;qBAAM;oBACL,yEAAyE;oBACzE,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CACtC,IAAA,yDAAiC,EAAC,IAAI,CAAC,qBAAqB,CAAC,CAC9D,CAAC;oBACF,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAC1C,IAAA,yDAAiC,EAAC,IAAI,CAAC,qBAAqB,CAAC,CAC9D,CAAC;iBACH;aACF;SACF;QAED,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IAC/B,CAAC;CACF;AAUkB,gCAAU;;AApPpB,wCAAS,CAAuB;AA4OzC;;;GAGG;AACH,SAAS,QAAQ,CAAC,GAAyB,EAAE,GAAG,IAAc;IAC5D,OAAO,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,EAAE,GAAG,IAAI,CAAC,CAAC;AACtC,CAAC;AAEQ,4BAAQ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/utils",
3
- "version": "6.0.0-alpha.80+e8cdd5ce4",
3
+ "version": "6.0.0-alpha.90+957bdcb58",
4
4
  "description": "Utilities for working with TypeScript + ESLint together",
5
5
  "files": [
6
6
  "dist",
@@ -65,20 +65,20 @@
65
65
  "typecheck": "tsc -p tsconfig.json --noEmit"
66
66
  },
67
67
  "dependencies": {
68
+ "@eslint-community/eslint-utils": "^4.2.0",
68
69
  "@types/json-schema": "^7.0.9",
69
70
  "@types/semver": "^7.3.12",
70
- "@typescript-eslint/scope-manager": "6.0.0-alpha.80+e8cdd5ce4",
71
- "@typescript-eslint/types": "6.0.0-alpha.80+e8cdd5ce4",
72
- "@typescript-eslint/typescript-estree": "6.0.0-alpha.80+e8cdd5ce4",
71
+ "@typescript-eslint/scope-manager": "6.0.0-alpha.90+957bdcb58",
72
+ "@typescript-eslint/types": "6.0.0-alpha.90+957bdcb58",
73
+ "@typescript-eslint/typescript-estree": "6.0.0-alpha.90+957bdcb58",
73
74
  "eslint-scope": "^5.1.1",
74
- "eslint-utils": "^3.0.0",
75
75
  "semver": "^7.3.7"
76
76
  },
77
77
  "peerDependencies": {
78
78
  "eslint": "^7.0.0 || ^8.0.0"
79
79
  },
80
80
  "devDependencies": {
81
- "@typescript-eslint/parser": "6.0.0-alpha.80+e8cdd5ce4",
81
+ "@typescript-eslint/parser": "6.0.0-alpha.90+957bdcb58",
82
82
  "typescript": "*"
83
83
  },
84
84
  "funding": {
@@ -92,5 +92,5 @@
92
92
  ]
93
93
  }
94
94
  },
95
- "gitHead": "e8cdd5ce48fa0a2f6f93e6b3ed7c337d042ab45d"
95
+ "gitHead": "957bdcb583a1059ec0e62ff3fadd7fe53f6c6e4f"
96
96
  }