Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit fd9ff3c

Browse files
committed
fix(@schematics/angular): update lint tools for Angular 5
codelyzer 4 is required for Angular 5. Some rules are removed as they are deprecated. tslint is also updated to 5.8.
1 parent ecb480e commit fd9ff3c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packages/schematics/angular/application/files/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@types/jasmine": "~2.5.53",
3333
"@types/jasminewd2": "~2.0.2",
3434
"@types/node": "~6.0.60",
35-
"codelyzer": "~3.2.0",
35+
"codelyzer": "^4.0.1",
3636
"jasmine-core": "~2.6.2",
3737
"jasmine-spec-reporter": "~4.1.0",
3838
"karma": "~1.7.0",
@@ -43,7 +43,7 @@
4343
"karma-jasmine-html-reporter": "^0.2.2",
4444
"protractor": "~5.1.2",
4545
"ts-node": "~3.2.0",
46-
"tslint": "~5.7.0",<% } %>
46+
"tslint": "^5.8.0",<% } %>
4747
"typescript": "~2.4.2"
4848
}
4949
}

packages/schematics/angular/application/files/tslint.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@
104104
"variable-declaration": "nospace"
105105
}
106106
],
107-
"typeof-compare": true,
108107
"unified-signatures": true,
109108
"variable-name": false,
110109
"whitespace": [
@@ -135,7 +134,6 @@
135134
"use-life-cycle-interface": true,
136135
"use-pipe-transform-interface": true,
137136
"component-class-suffix": true,
138-
"directive-class-suffix": true,
139-
"invoke-injectable": true
137+
"directive-class-suffix": true
140138
}
141139
}

0 commit comments

Comments
 (0)