code-debug/tslint.json
Simon Marchi d0dc094f4e tslint: Enable no-null-keyword
I find this rule quite useful so that we use undefined all the time.
The rationale on the rule's documentation page is quite clear:

https://palantir.github.io/tslint/rules/no-null-keyword/
2018-07-17 18:48:05 -04:00

8 lines
124 B
JSON

{
"defaultSeverity": "error",
"rules": {
"no-var-keyword": true,
"prefer-const": true,
"no-null-keyword": true
}
}