Skip to content

Commit 75be01e

Browse files
committed
Use tslint:recommended and enable deprecation
See Enable deprecation rule with "tslint:recommended" palantir/tslint#3856
1 parent a6688ac commit 75be01e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tslint.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
2-
"extends": ["tslint:latest", "tslint-react"],
2+
"defaultSeverity": "error",
3+
"extends": ["tslint:recommended", "tslint:latest", "tslint-react"],
34
"rules": {
5+
"deprecation": true,
46
// Copy-pasted from Blueprint, see https://github.com/palantir/blueprint/blob/d5a6c02e8750415dfe3af9846749f50525e9a95b/tslint.json
57
"ban": [true,
68
["Object", "assign", "use TS2.1 object spread { ...a, ...b }"],

0 commit comments

Comments
 (0)