typescript-strictly-typed
Advanced tools
Comparing version 2.6.0 to 2.7.0
@@ -49,3 +49,4 @@ "use strict"; | ||
const extendsConfig = normalizeConfigToArray(override.extends); | ||
if (((_c = override.plugins) === null || _c === void 0 ? void 0 : _c.includes(eslintAngularTemplatePlugin)) || extendsConfig.some((extendConfig) => extendConfig.includes(eslintAngularTemplatePlugin))) | ||
if (((_c = override.plugins) === null || _c === void 0 ? void 0 : _c.includes(eslintAngularTemplatePlugin)) | ||
|| extendsConfig.some((extendConfig) => extendConfig.includes(eslintAngularTemplatePlugin))) | ||
addAngularHTMLConfig(override); | ||
@@ -52,0 +53,0 @@ } |
{ | ||
"name": "typescript-strictly-typed", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"description": "Enable configurations for strictly typed TypeScript, ESLint or TSLint, and optionally Angular.", | ||
@@ -10,3 +10,5 @@ "funding": { | ||
"main": "index.js", | ||
"bin": "bin/cli", | ||
"bin": { | ||
"typescript-strictly-typed": "bin/cli" | ||
}, | ||
"type": "commonjs", | ||
@@ -51,3 +53,3 @@ "engines": { | ||
"js-yaml": "4.0.0", | ||
"json5": "2.1.3", | ||
"json5": "2.2.0", | ||
"pkg-up": "3.1.0", | ||
@@ -58,12 +60,11 @@ "semver": "7.3.4" | ||
"@types/js-yaml": "4.0.0", | ||
"@types/json5": "0.0.30", | ||
"@types/node": "14.14.21", | ||
"@types/node": "14.14.31", | ||
"@types/semver": "7.3.4", | ||
"@typescript-eslint/eslint-plugin": "4.13.0", | ||
"@typescript-eslint/parser": "4.13.0", | ||
"@typescript-eslint/eslint-plugin": "4.15.2", | ||
"@typescript-eslint/parser": "4.15.2", | ||
"copyfiles": "2.4.1", | ||
"eslint": "7.17.0", | ||
"eslint": "7.20.0", | ||
"rimraf": "3.0.2", | ||
"typescript": "4.1.3" | ||
"typescript": "4.2.2" | ||
} | ||
} |
@@ -43,2 +43,3 @@ # TypeScript Strictly Typed | ||
- `noImplicitReturns` | ||
- `noPropertyAccessFromIndexSignature` | ||
- `forceConsistentCasingInFileNames` | ||
@@ -45,0 +46,0 @@ - [ESLint rules](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin) |
@@ -37,2 +37,5 @@ "use strict"; | ||
*/ | ||
if (config_utils_1.checkDependencyVersion(cwd, 'typescript', '>=4.2.0')) { | ||
config.compilerOptions.noPropertyAccessFromIndexSignature = true; | ||
} | ||
/* Clean up options included in strict mode */ | ||
@@ -39,0 +42,0 @@ if (config.compilerOptions.alwaysStrict) { |
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
26118
9
482
134
+ Addedjson5@2.2.0(transitive)
- Removedjson5@2.1.3(transitive)
Updatedjson5@2.2.0