Skip to content

Instantly share code, notes, and snippets.

@angrykoala
Last active May 31, 2019 18:24
Show Gist options
  • Save angrykoala/fbd5c0291616336dbaf442e21ab78de7 to your computer and use it in GitHub Desktop.
Save angrykoala/fbd5c0291616336dbaf442e21ab78de7 to your computer and use it in GitHub Desktop.
tslint.json
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {},
"rules": {
"arrow-parens": false,
"quotemark": false,
"trailing-comma": false,
"ordered-imports": false,
"object-literal-shorthand": false,
"object-literal-sort-keys": false,
"curly": 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`?"]
]
},
"max-line-length": {
"options": 200
},
"array-type": false,
"interface-name": false,
"no-console": false,
"max-classes-per-file": false,
"member-ordering": false,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"no-namespace": false,
"only-arrow-functions": false,
"typedef": [true, "call-signature"],
"prefer-for-of": false
},
"rulesDirectory": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment