@typescript-eslint/eslint-plugin 8.60.2-alpha.0 → 8.60.2-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.
@@ -174,9 +174,7 @@ exports.default = (0, util_1.createRule)({
174
174
  return undefined;
175
175
  }
176
176
  function nodeIsUnaryNegation(node) {
177
- return (node.type === utils_1.AST_NODE_TYPES.UnaryExpression &&
178
- node.prefix &&
179
- node.operator === '!');
177
+ return (node.type === utils_1.AST_NODE_TYPES.UnaryExpression && node.operator === '!');
180
178
  }
181
179
  return {
182
180
  BinaryExpression(node) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/eslint-plugin",
3
- "version": "8.60.2-alpha.0",
3
+ "version": "8.60.2-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/type-utils": "8.60.2-alpha.0",
56
- "@typescript-eslint/scope-manager": "8.60.2-alpha.0",
57
- "@typescript-eslint/utils": "8.60.2-alpha.0",
58
- "@typescript-eslint/visitor-keys": "8.60.2-alpha.0"
55
+ "@typescript-eslint/scope-manager": "8.60.2-alpha.2",
56
+ "@typescript-eslint/type-utils": "8.60.2-alpha.2",
57
+ "@typescript-eslint/visitor-keys": "8.60.2-alpha.2",
58
+ "@typescript-eslint/utils": "8.60.2-alpha.2"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@types/json-schema": "^7.0.15",
@@ -79,13 +79,13 @@
79
79
  "typescript": ">=4.8.4 <6.1.0",
80
80
  "unist-util-visit": "^5.0.0",
81
81
  "vitest": "^4.0.18",
82
- "@typescript-eslint/rule-schema-to-typescript-types": "8.60.2-alpha.0",
83
- "@typescript-eslint/rule-tester": "8.60.2-alpha.0"
82
+ "@typescript-eslint/rule-schema-to-typescript-types": "8.60.2-alpha.2",
83
+ "@typescript-eslint/rule-tester": "8.60.2-alpha.2"
84
84
  },
85
85
  "peerDependencies": {
86
86
  "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
87
87
  "typescript": ">=4.8.4 <6.1.0",
88
- "@typescript-eslint/parser": "^8.60.2-alpha.0"
88
+ "@typescript-eslint/parser": "^8.60.2-alpha.2"
89
89
  },
90
90
  "funding": {
91
91
  "type": "opencollective",