Skip to content

Instantly share code, notes, and snippets.

@TylerJPresley
Created April 22, 2017 21:02
Show Gist options
  • Save TylerJPresley/da72757868fcef4fbafbef7657ea32a6 to your computer and use it in GitHub Desktop.
Save TylerJPresley/da72757868fcef4fbafbef7657ea32a6 to your computer and use it in GitHub Desktop.
tslint config
{
"extends": "tslint:latest",
"rules": {
"callable-types": true,
"interface-name": false,
"interface-over-type-literal": true,
"max-classes-per-file": false,
"max-line-length": [true, 500],
"member-ordering": [true, { "order": [
"static-field",
"public-instance-field",
"protected-instance-field",
"private-instance-field",
"constructor",
"public-static-method",
"protected-static-method",
"private-static-method",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}],
"no-angle-bracket-type-assertion": true,
"no-console": false,
"no-default-export": false,
"no-empty-interface": true,
"no-string-literal": false,
"no-string-throw": true,
"prefer-const": true,
"quotemark": [true, "single", "avoid-escape"],
"ordered-imports": false,
"trailing-comma": [true, { "multiline": "never", "singleline": "never" }],
"variable-name": [true, "ban-keywords"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment