Skip to content

Instantly share code, notes, and snippets.

@joebobmiles
Created November 3, 2019 02:07
Show Gist options
  • Save joebobmiles/2321ec5822a56cf3a4c53e0a99e045a0 to your computer and use it in GitHub Desktop.
Save joebobmiles/2321ec5822a56cf3a4c53e0a99e045a0 to your computer and use it in GitHub Desktop.
Personal TSLint config. This gets rid of TSLint's hollering about minutiae that I personally think makes my code more readable.
{
"extends": "tslint:recommended",
"rules": {
"max-line-length": {
"options": [120]
},
"new-parens": true,
"no-arg": true,
"no-bitwise": false,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": false,
"no-console": {
"severity": "warning",
"options": ["debug", "info", "log", "time", "timeEnd", "trace"]
},
"space-before-function-paren": true,
"curly": false,
"eofline": false,
"no-namespace": false,
"trailing-comma": false,
"member-ordering": false
},
"jsRules": {
"max-line-length": {
"options": [120]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment