typescript-strictly-typed
Advanced tools
Comparing version 3.20.0 to 3.20.1
@@ -19,3 +19,3 @@ import { writeFileSync } from "node:fs"; | ||
"@typescript-eslint/no-unsafe-return": `"error"`, | ||
...(checkDependencyVersion(cwd, "@typescript-eslint/eslint-plugin", ">=8.15.0") ? { "@typescript-eslint/no-unsafe-type-assertion": `"error"` } : {}), | ||
...(checkDependencyVersion(cwd, "typescript-eslint", ">=8.15.0") || checkDependencyVersion(cwd, "@typescript-eslint/eslint-plugin", ">=8.15.0") ? { "@typescript-eslint/no-unsafe-type-assertion": `"error"` } : {}), | ||
"@typescript-eslint/prefer-for-of": `"error"`, | ||
@@ -22,0 +22,0 @@ "@typescript-eslint/prefer-nullish-coalescing": `"error"`, |
@@ -113,3 +113,3 @@ import { checkDependencyVersion, dependencyExists, findConfig, getConfig, getSource, isAngularESLint, modifyJSON, saveConfig } from "./config-utils.js"; | ||
config.raw = modifyJSON(config.raw, [...path, "rules", "@typescript-eslint/no-unsafe-return"], "error"); | ||
if (checkDependencyVersion(cwd, "@typescript-eslint/eslint-plugin", ">=8.15.0")) { | ||
if (checkDependencyVersion(cwd, "@typescript-eslint/eslint-plugin", ">=8.15.0") || checkDependencyVersion(cwd, "typescript-eslint", ">=8.15.0")) { | ||
config.raw = modifyJSON(config.raw, [...path, "rules", "@typescript-eslint/no-unsafe-type-assertion"], "error"); | ||
@@ -116,0 +116,0 @@ } |
{ | ||
"name": "typescript-strictly-typed", | ||
"version": "3.20.0", | ||
"version": "3.20.1", | ||
"description": "Enable configurations for strictly typed TypeScript, ESLint, and optionally Angular.", | ||
@@ -5,0 +5,0 @@ "funding": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41638