eslint-plugin-roblox-ts
Advanced tools
Comparing version 0.0.35 to 0.0.36
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -29,4 +29,2 @@ "use strict"; | ||
const type = (0, types_1.getType)(checker, service.esTreeNodeToTSNodeMap.get(node)); | ||
const isAssignableToUndefined = (0, types_1.isPossiblyType)(type, t => (0, types_1.isUndefinedType)(t)); | ||
const isAssignableToBoolean = (0, types_1.isPossiblyType)(type, t => (0, types_1.isBooleanType)(t)); | ||
const isAssignableToZero = (0, types_1.isPossiblyType)(type, t => (0, types_1.isNumberLiteralType)(t, 0)); | ||
@@ -33,0 +31,0 @@ const isAssignableToNaN = (0, types_1.isPossiblyType)(type, t => (0, types_1.isNaNType)(t)); |
@@ -17,3 +17,3 @@ "use strict"; | ||
recommended: "warn", | ||
requiresTypeChecking: false, | ||
requiresTypeChecking: true, | ||
}, | ||
@@ -20,0 +20,0 @@ schema: [], |
@@ -13,3 +13,3 @@ "use strict"; | ||
recommended: "error", | ||
requiresTypeChecking: false, | ||
requiresTypeChecking: true, | ||
}, | ||
@@ -16,0 +16,0 @@ messages: { |
@@ -39,3 +39,3 @@ "use strict"; | ||
recommended: "error", | ||
requiresTypeChecking: false, | ||
requiresTypeChecking: true, | ||
}, | ||
@@ -42,0 +42,0 @@ messages: { |
{ | ||
"name": "eslint-plugin-roblox-ts", | ||
"version": "0.0.35", | ||
"version": "0.0.36", | ||
"main": "out/index.js", | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^5.0.0", | ||
"@typescript-eslint/parser": "^5.0.0", | ||
"eslint": "^8.0.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"prettier": "^2.4.1" | ||
}, | ||
"engines": { | ||
@@ -23,9 +15,17 @@ "node": ">=0.10.0" | ||
"dependencies": { | ||
"@types/node": "^16.10.4", | ||
"@typescript-eslint/experimental-utils": "^5.0.0", | ||
"typescript": "^4.4.4" | ||
"@types/node": "^20.8.0", | ||
"@typescript-eslint/experimental-utils": "^5.62.0", | ||
"typescript": "^5.2.2" | ||
}, | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^6.7.3", | ||
"@typescript-eslint/parser": "^6.7.3", | ||
"eslint": "^8.50.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-prettier": "^5.0.0", | ||
"prettier": "^3.0.3" | ||
}, | ||
"files": [ | ||
"out" | ||
] | ||
} | ||
} |
56560
27
1299
+ Added@types/node@20.12.7(transitive)
+ Addedtypescript@5.4.5(transitive)
+ Addedundici-types@5.26.5(transitive)
- Removed@types/node@16.18.96(transitive)
- Removedtypescript@4.9.5(transitive)
Updated@types/node@^20.8.0
Updatedtypescript@^5.2.2