Skip to content

Commit 11bd608

Browse files
author
Trevor Sears
committed
Updated tslint.json and tsconfig.json from updated template repo versions.
1 parent b16bece commit 11bd608

2 files changed

Lines changed: 20 additions & 18 deletions

File tree

ts/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
// More strictly checks function argument types to ensure that the values passed into any given function
6161
// actually fulfill the requirements of the designated parameter types.
6262
"strictFunctionTypes": true
63-
63+
6464
},
6565

6666
"exclude": [
@@ -69,4 +69,4 @@
6969

7070
]
7171

72-
}
72+
}

ts/tslint.json

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
"indent": [true, "tabs", 4],
4141

42-
"interface-name": [true, "never-prefix"],
42+
"interface-name": false,
4343

4444
"interface-over-type-literal": false,
4545

@@ -73,7 +73,7 @@
7373

7474
"object-literal-sort-keys": [true, "match-declaration-order"],
7575

76-
"only-arrow-functions": true,
76+
"only-arrow-functions": [true, "allow-named-functions"],
7777

7878
"ordered-imports": false,
7979

@@ -83,7 +83,7 @@
8383

8484
"radix": false,
8585

86-
"semicolon": [true, "always"],
86+
"semicolon": [true, "always", "ignore-bound-class-methods"],
8787

8888
"space-within-parens": [false],
8989

@@ -104,22 +104,24 @@
104104
],
105105

106106
"typedef-whitespace": [true, {
107-
"call-signature": "nospace",
108-
"index-signature": "nospace",
109-
"parameter": "nospace",
110-
"property-declaration": "nospace",
111-
"variable-declaration": "nospace"
112-
}, {
113-
"call-signature": "onespace",
114-
"index-signature": "onespace",
115-
"parameter": "onespace",
116-
"property-declaration": "space",
117-
"variable-declaration": "onespace"
118-
}
107+
"call-signature": "nospace",
108+
"index-signature": "nospace",
109+
"parameter": "nospace",
110+
"property-declaration": "nospace",
111+
"variable-declaration": "nospace"
112+
}, {
113+
"call-signature": "onespace",
114+
"index-signature": "onespace",
115+
"parameter": "onespace",
116+
"property-declaration": "space",
117+
"variable-declaration": "onespace"
118+
}
119119
],
120120

121121
"typeof-compare": true,
122122

123+
"unified-signatures": false,
124+
123125
"use-isnan": true,
124126

125127
"whitespace": [true,
@@ -138,4 +140,4 @@
138140

139141
}
140142

141-
}
143+
}

0 commit comments

Comments
 (0)