@angular-eslint/schematics
Advanced tools
Comparing version 1.1.1-alpha.4 to 1.1.1-alpha.5
@@ -19,3 +19,3 @@ "use strict"; | ||
function convert(schema) { | ||
return (tree, _context) => { | ||
return (tree) => { | ||
if (tree.exists('tsconfig.base.json')) { | ||
@@ -22,0 +22,0 @@ throw new Error('\nError: Angular CLI v10.1.0 and later (and no `tsconfig.base.json`) is required in order to run this schematic. Please update your workspace and try again.\n'); |
@@ -43,2 +43,3 @@ "use strict"; | ||
delete json[objPropName][name]; | ||
// eslint-disable-next-line no-empty | ||
} | ||
@@ -61,2 +62,3 @@ catch (_a) { } | ||
} | ||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion | ||
const projectPackageJSON = host.read('package.json').toString('utf-8'); | ||
@@ -63,0 +65,0 @@ const json = JSON.parse(projectPackageJSON); |
@@ -5,2 +5,3 @@ "use strict"; | ||
const tasks_1 = require("@angular-devkit/schematics/tasks"); | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
const packageJSON = require('../../package.json'); | ||
@@ -7,0 +8,0 @@ function addAngularESLintPackages() { |
@@ -25,2 +25,3 @@ "use strict"; | ||
} | ||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion | ||
const contents = strip_json_comments_1.default(host.read(path).toString('utf-8')); | ||
@@ -27,0 +28,0 @@ try { |
{ | ||
"name": "@angular-eslint/schematics", | ||
"version": "1.1.1-alpha.4+571624d", | ||
"version": "1.1.1-alpha.5+926c402", | ||
"description": "Angular Schematics for angular-eslint", | ||
@@ -27,4 +27,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"@angular-eslint/eslint-plugin": "1.1.1-alpha.4+571624d", | ||
"@angular-eslint/eslint-plugin-template": "1.1.1-alpha.4+571624d", | ||
"@angular-eslint/eslint-plugin": "1.1.1-alpha.5+926c402", | ||
"@angular-eslint/eslint-plugin-template": "1.1.1-alpha.5+926c402", | ||
"strip-json-comments": "3.1.1", | ||
@@ -46,3 +46,3 @@ "tslint-to-eslint-config": "2.0.1" | ||
}, | ||
"gitHead": "571624d48bfc8d3081bf6925d3a3ed8f47cfe32c" | ||
"gitHead": "926c40298817c67a13d82165be1d5f646cf77c2d" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
59669
1299