@typescript-eslint/eslint-plugin 8.60.1-alpha.1 → 8.60.1-alpha.2
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.
|
@@ -121,7 +121,7 @@ exports.default = (0, util_1.createRule)({
|
|
|
121
121
|
}
|
|
122
122
|
return execDirectiveRegEx(commentDirectiveRegExSingleLine, comment.value);
|
|
123
123
|
}
|
|
124
|
-
const commentLines = comment.value.split(
|
|
124
|
+
const commentLines = comment.value.split(utils_1.ASTUtils.LINEBREAK_MATCHER);
|
|
125
125
|
return execDirectiveRegEx(commentDirectiveRegExMultiLine, commentLines[commentLines.length - 1]);
|
|
126
126
|
}
|
|
127
127
|
return {
|
|
@@ -40,7 +40,7 @@ exports.default = (0, util_1.createRule)({
|
|
|
40
40
|
return comment.value;
|
|
41
41
|
}
|
|
42
42
|
// For multiline comments - we look at only the last line.
|
|
43
|
-
const commentlines = comment.value.split(
|
|
43
|
+
const commentlines = comment.value.split(utils_1.ASTUtils.LINEBREAK_MATCHER);
|
|
44
44
|
return commentlines[commentlines.length - 1];
|
|
45
45
|
}
|
|
46
46
|
function isValidTsIgnorePresent(comment) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/eslint-plugin",
|
|
3
|
-
"version": "8.60.1-alpha.
|
|
3
|
+
"version": "8.60.1-alpha.2",
|
|
4
4
|
"description": "TypeScript plugin for ESLint",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"ignore": "^7.0.5",
|
|
53
53
|
"natural-compare": "^1.4.0",
|
|
54
54
|
"ts-api-utils": "^2.5.0",
|
|
55
|
-
"@typescript-eslint/scope-manager": "8.60.1-alpha.
|
|
56
|
-
"@typescript-eslint/type-utils": "8.60.1-alpha.
|
|
57
|
-
"@typescript-eslint/utils": "8.60.1-alpha.
|
|
58
|
-
"@typescript-eslint/visitor-keys": "8.60.1-alpha.
|
|
55
|
+
"@typescript-eslint/scope-manager": "8.60.1-alpha.2",
|
|
56
|
+
"@typescript-eslint/type-utils": "8.60.1-alpha.2",
|
|
57
|
+
"@typescript-eslint/utils": "8.60.1-alpha.2",
|
|
58
|
+
"@typescript-eslint/visitor-keys": "8.60.1-alpha.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/json-schema": "^7.0.15",
|
|
@@ -78,13 +78,13 @@
|
|
|
78
78
|
"typescript": ">=4.8.4 <6.1.0",
|
|
79
79
|
"unist-util-visit": "^5.0.0",
|
|
80
80
|
"vitest": "^4.0.18",
|
|
81
|
-
"@typescript-eslint/rule-schema-to-typescript-types": "8.60.1-alpha.
|
|
82
|
-
"@typescript-eslint/rule-tester": "8.60.1-alpha.
|
|
81
|
+
"@typescript-eslint/rule-schema-to-typescript-types": "8.60.1-alpha.2",
|
|
82
|
+
"@typescript-eslint/rule-tester": "8.60.1-alpha.2"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|
|
86
86
|
"typescript": ">=4.8.4 <6.1.0",
|
|
87
|
-
"@typescript-eslint/parser": "^8.60.1-alpha.
|
|
87
|
+
"@typescript-eslint/parser": "^8.60.1-alpha.2"
|
|
88
88
|
},
|
|
89
89
|
"funding": {
|
|
90
90
|
"type": "opencollective",
|