Skip to content

Instantly share code, notes, and snippets.

@MrKou47
Last active December 5, 2017 03:47
Show Gist options
  • Save MrKou47/68b81cd52ac8a394864086f5237f2471 to your computer and use it in GitHub Desktop.
Save MrKou47/68b81cd52ac8a394864086f5237f2471 to your computer and use it in GitHub Desktop.
typescript basic lint config
{
"rules": {
"no-unused-expression": true,
"no-duplicate-variable": true,
"no-unused-variable": true,
"curly": false,
"class-name": true,
"semicolon": [true,"always"],
"triple-equals": true,
"no-var-requires": false,
"quotemark": [
true,
"single"
],
"interface-name": [
false
],
"member-access": [
false
],
"one-variable-per-declaration": [
false
],
"object-literal-sort-keys": [
false
],
"no-console": [
false
],
"ordered-imports": [
false
],
"member-ordering": [
false
],
"max-line-length": [
200
]
},
"extends": [
"tslint:recommended"
],
"defaultSeverity": "warning"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment