Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typescript-strictly-typed

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-strictly-typed - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

16

eslint-strict.js

@@ -39,3 +39,2 @@ "use strict";

checkConfig(config);
let configAdded = false;
/* If there is an override, rules must be set inside it, or they won't be checked */

@@ -48,9 +47,6 @@ for (const override of (_b = config.overrides) !== null && _b !== void 0 ? _b : []) {

addConfig(override);
configAdded = true;
}
}
/* Add rules at root level if there was no override */
if (!configAdded) {
addConfig(config);
}
/* Add rules at root level */
addConfig(config);
if (packageJSONConfig) {

@@ -106,8 +102,4 @@ packageJSONConfig.eslintConfig = config;

}
if (!config.rules['@typescript-eslint/no-explicit-any']) {
config.rules['@typescript-eslint/no-explicit-any'] = 'error';
}
if (!config.rules['@typescript-eslint/explicit-function-return-type']) {
config.rules['@typescript-eslint/explicit-function-return-type'] = 'error';
}
config.rules['@typescript-eslint/no-explicit-any'] = 'error';
config.rules['@typescript-eslint/explicit-function-return-type'] = 'error';
}
{
"name": "typescript-strictly-typed",
"version": "2.3.0",
"version": "2.3.1",
"description": "Enable configurations for strictly typed TypeScript, ESLint or TSLint, and optionally Angular.",

@@ -5,0 +5,0 @@ "funding": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc