@typescript-eslint/rule-tester 8.74.1-alpha.1 → 8.74.1-alpha.10
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 +1 -1
- package/dist/RuleTester.js +2 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
[](https://www.npmjs.com/package/@typescript-eslint/rule-tester)
|
|
6
6
|
[](https://www.npmjs.com/package/@typescript-eslint/rule-tester)
|
|
7
7
|
|
|
8
|
-
👉 See **https://typescript-eslint.io/packages/rule-tester
|
|
8
|
+
👉 See **https://typescript-eslint.io/packages/rule-tester/** for documentation on this package.
|
|
9
9
|
|
|
10
10
|
<!-- Local path for docs: docs/packages/Rule_Tester.mdx -->
|
package/dist/RuleTester.js
CHANGED
|
@@ -315,7 +315,8 @@ class RuleTester extends TestFramework_1.TestFramework {
|
|
|
315
315
|
const maybeMarkAsOnly = (test) => {
|
|
316
316
|
return {
|
|
317
317
|
...test,
|
|
318
|
-
skip:
|
|
318
|
+
skip: test.skip ||
|
|
319
|
+
!(0, dependencyConstraints_1.satisfiesAllDependencyConstraints)(test.dependencyConstraints),
|
|
319
320
|
};
|
|
320
321
|
};
|
|
321
322
|
normalizedTests.valid = normalizedTests.valid.map(maybeMarkAsOnly);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/rule-tester",
|
|
3
|
-
"version": "8.74.1-alpha.
|
|
3
|
+
"version": "8.74.1-alpha.10",
|
|
4
4
|
"description": "Tooling to test ESLint rules",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"bugs": {
|
|
27
27
|
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
|
|
28
28
|
},
|
|
29
|
-
"homepage": "https://typescript-eslint.io/packages/rule-tester",
|
|
29
|
+
"homepage": "https://typescript-eslint.io/packages/rule-tester/",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"keywords": [
|
|
32
32
|
"eslint",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
],
|
|
36
36
|
"//": "NOTE - AJV is out-of-date, but it's intentionally synced with ESLint - https://github.com/eslint/eslint/blob/ad9dd6a933fd098a0d99c6a9aa059850535c23ee/package.json#L70",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@typescript-eslint/parser": "8.74.1-alpha.
|
|
39
|
-
"@typescript-eslint/typescript-estree": "8.74.1-alpha.
|
|
40
|
-
"@typescript-eslint/utils": "8.74.1-alpha.
|
|
38
|
+
"@typescript-eslint/parser": "8.74.1-alpha.10",
|
|
39
|
+
"@typescript-eslint/typescript-estree": "8.74.1-alpha.10",
|
|
40
|
+
"@typescript-eslint/utils": "8.74.1-alpha.10",
|
|
41
41
|
"ajv": "^6.12.6",
|
|
42
42
|
"json-stable-stringify-without-jsonify": "^1.0.1",
|
|
43
43
|
"lodash.merge": "4.6.2",
|