Skip to content

Commit

Permalink
Use tslint:recommended and enable deprecation
Browse files Browse the repository at this point in the history
See Enable deprecation rule with "tslint:recommended" palantir/tslint#3856
  • Loading branch information
tkrotoff committed Apr 26, 2018
1 parent a6688ac commit 75be01e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"extends": ["tslint:latest", "tslint-react"],
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint:latest", "tslint-react"],
"rules": {
"deprecation": true,
// Copy-pasted from Blueprint, see https://github.com/palantir/blueprint/blob/d5a6c02e8750415dfe3af9846749f50525e9a95b/tslint.json
"ban": [true,
["Object", "assign", "use TS2.1 object spread { ...a, ...b }"],
Expand Down

0 comments on commit 75be01e

Please sign in to comment.