@typescript-eslint/eslint-plugin 8.64.1-alpha.4 → 8.64.1-alpha.5
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.
|
@@ -206,7 +206,8 @@ exports.default = (0, util_1.createRule)({
|
|
|
206
206
|
}
|
|
207
207
|
const { flags, source } = evaluated.value;
|
|
208
208
|
const isStartsWith = source.startsWith('^');
|
|
209
|
-
|
|
209
|
+
// ends with a $ preceded by an even number of backslashes (or zero)
|
|
210
|
+
const isEndsWith = /[^\\](\\\\)*\$$/.test(source);
|
|
210
211
|
if (isStartsWith === isEndsWith ||
|
|
211
212
|
flags.includes('i') ||
|
|
212
213
|
flags.includes('m')) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/eslint-plugin",
|
|
3
|
-
"version": "8.64.1-alpha.
|
|
3
|
+
"version": "8.64.1-alpha.5",
|
|
4
4
|
"description": "TypeScript plugin for ESLint",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"ignore": "^7.0.5",
|
|
50
50
|
"natural-compare": "^1.4.0",
|
|
51
51
|
"ts-api-utils": "^2.5.0",
|
|
52
|
-
"@typescript-eslint/scope-manager": "8.64.1-alpha.
|
|
53
|
-
"@typescript-eslint/
|
|
54
|
-
"@typescript-eslint/type-utils": "8.64.1-alpha.
|
|
55
|
-
"@typescript-eslint/
|
|
52
|
+
"@typescript-eslint/scope-manager": "8.64.1-alpha.5",
|
|
53
|
+
"@typescript-eslint/visitor-keys": "8.64.1-alpha.5",
|
|
54
|
+
"@typescript-eslint/type-utils": "8.64.1-alpha.5",
|
|
55
|
+
"@typescript-eslint/utils": "8.64.1-alpha.5"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/json-schema": "^7.0.15",
|
|
@@ -76,13 +76,13 @@
|
|
|
76
76
|
"typescript": ">=4.8.4 <6.1.0",
|
|
77
77
|
"unist-util-visit": "^5.0.0",
|
|
78
78
|
"vitest": "^4.0.18",
|
|
79
|
-
"@typescript-eslint/rule-schema-to-typescript-types": "8.64.1-alpha.
|
|
80
|
-
"@typescript-eslint/rule-tester": "8.64.1-alpha.
|
|
79
|
+
"@typescript-eslint/rule-schema-to-typescript-types": "8.64.1-alpha.5",
|
|
80
|
+
"@typescript-eslint/rule-tester": "8.64.1-alpha.5"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|
|
84
84
|
"typescript": ">=4.8.4 <6.1.0",
|
|
85
|
-
"@typescript-eslint/parser": "^8.64.1-alpha.
|
|
85
|
+
"@typescript-eslint/parser": "^8.64.1-alpha.5"
|
|
86
86
|
},
|
|
87
87
|
"funding": {
|
|
88
88
|
"type": "opencollective",
|
|
@@ -106,7 +106,17 @@
|
|
|
106
106
|
"lint": {
|
|
107
107
|
"command": "eslint"
|
|
108
108
|
},
|
|
109
|
-
"typecheck:tsgo": {}
|
|
109
|
+
"typecheck:tsgo": {},
|
|
110
|
+
"attw-check": {
|
|
111
|
+
"cache": false,
|
|
112
|
+
"dependsOn": [
|
|
113
|
+
"build"
|
|
114
|
+
],
|
|
115
|
+
"options": {
|
|
116
|
+
"cwd": "{projectRoot}"
|
|
117
|
+
},
|
|
118
|
+
"command": "pnpm pack --out attw-check.tgz && attw attw-check.tgz --profile node16 --exclude-entrypoints use-at-your-own-risk/raw-plugin --exclude-entrypoints use-at-your-own-risk/rules --ignore-rules named-exports"
|
|
119
|
+
}
|
|
110
120
|
}
|
|
111
121
|
},
|
|
112
122
|
"scripts": {
|
|
@@ -118,6 +128,7 @@
|
|
|
118
128
|
"lint": "pnpm -w exec nx lint",
|
|
119
129
|
"test": "pnpm -w exec nx test",
|
|
120
130
|
"typecheck": "pnpm -w exec nx typecheck",
|
|
121
|
-
"typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo"
|
|
131
|
+
"typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo",
|
|
132
|
+
"attw-check": "pnpm -w exec nx attw-check"
|
|
122
133
|
}
|
|
123
134
|
}
|