Created
August 19, 2019 23:46
-
-
Save arbalest/3caa448c2ef2a5814f52bebc0c4e6ab2 to your computer and use it in GitHub Desktop.
TSLint Preferred Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"defaultSeverity": "warning", | |
"extends": [ | |
"tslint:recommended" | |
], | |
"linterOptions": { | |
"exclude": [ | |
"node_modules/**" | |
] | |
}, | |
"rules": { | |
"indent": [true, "spaces", 4], | |
"interface-name": false, | |
"no-consecutive-blank-lines": false, | |
"object-literal-sort-keys": false, | |
"ordered-imports": false, | |
"quotemark": [true, "single"], | |
"no-console": false, | |
"max-classes-per-file": false, | |
"ban-types": { | |
"options": [ | |
["Object", "Avoid using the `Object` type. Did you mean `object`?"], | |
["Boolean", "Avoid using the `Boolean` type. Did you mean `boolean`?"], | |
["Number", "Avoid using the `Number` type. Did you mean `number`?"], | |
["String", "Avoid using the `String` type. Did you mean `string`?"], | |
["Symbol", "Avoid using the `Symbol` type. Did you mean `symbol`?"] | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment