Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Commit

Permalink
style(tslint): update lint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Oct 25, 2017
1 parent ff92a4d commit 98e2f16
Showing 1 changed file with 39 additions and 17 deletions.
56 changes: 39 additions & 17 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,19 @@
"rules": {
"curly": true,
"eofline": false,
"align": [true, "parameters"],
"align": [
true,
"parameters"
],
"class-name": true,
"indent": [true, "spaces"],
"max-line-length": [true, 150],
"indent": [
true,
"spaces"
],
"max-line-length": [
true,
150
],
"no-consecutive-blank-lines": true,
"no-trailing-whitespace": true,
"no-duplicate-variable": true,
Expand All @@ -16,26 +25,39 @@
"no-use-before-declare": true,
"no-var-requires": true,
"no-require-imports": true,
"one-line": [true,
"one-line": [
true,
"check-else",
"check-whitespace",
"check-open-brace"],
"quotemark": [true,
"check-open-brace"
],
"quotemark": [
true,
"single",
"avoid-escape"],
"semicolon": [true, "always"],
"typedef-whitespace": [true, {
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}],
"whitespace": [true,
"avoid-escape"
],
"semicolon": [
true,
"always"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"import-spacing": true,
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"]
"check-type"
]
}
}

0 comments on commit 98e2f16

Please sign in to comment.