diff --git a/addon/ng2/blueprints/ng2/files/package.json b/addon/ng2/blueprints/ng2/files/package.json index a2cdbd04b80e..fdbce0bfced7 100644 --- a/addon/ng2/blueprints/ng2/files/package.json +++ b/addon/ng2/blueprints/ng2/files/package.json @@ -37,7 +37,7 @@ "@types/jasmine": "^2.2.30", "@types/protractor": "^1.5.16", "angular-cli": "<%= version %>", - "codelyzer": "0.0.26", + "codelyzer": "~0.0.26", "jasmine-core": "2.4.1", "jasmine-spec-reporter": "2.5.0", "karma": "0.13.22", diff --git a/addon/ng2/blueprints/ng2/files/tslint.json b/addon/ng2/blueprints/ng2/files/tslint.json index 7b13bd1790a4..b4d90589bf15 100644 --- a/addon/ng2/blueprints/ng2/files/tslint.json +++ b/addon/ng2/blueprints/ng2/files/tslint.json @@ -93,6 +93,8 @@ "check-type" ], + "directive-selector-prefix": [true, "<%= prefix %>"], + "component-selector-prefix": [true, "<%= prefix %>"], "directive-selector-name": [true, "camelCase"], "component-selector-name": [true, "kebab-case"], "directive-selector-type": [true, "attribute"],