Wesley Wigham
3085806fc2
lint rule forbidding the in keyword binary expression
2015-12-01 15:14:24 -08:00
Yui T
97f0bfcd72
apply tslint rule to scripts\tslint
2015-11-20 16:28:58 -08:00
Daniel Rosenwasser
bd84b844ff
Remove unnecessary 'else' block.
2015-11-18 10:07:42 -08:00
Daniel Rosenwasser
cbb61654fb
Small refactorings.
2015-11-18 01:53:12 -08:00
Daniel Rosenwasser
15d689cdcd
Simplify simplify simplify.
2015-11-18 01:46:17 -08:00
Daniel Rosenwasser
cf007461b9
Fixed invalid code for binding expressions.
2015-11-18 01:41:41 -08:00
Wesley Wigham
15f505e6aa
use tslint@next
2015-11-11 13:30:26 -08:00
Wesley Wigham
84551d7cbd
for..of loops
2015-11-04 17:39:04 -08:00
Wesley Wigham
db2f5f2249
I love fixing lints on my linter code
2015-11-04 14:58:48 -08:00
Wesley Wigham
51fc4f2c23
Add prefer const rule
2015-11-04 14:51:31 -08:00
Ryan Cavanaugh
d284a90cc2
Style changes
2015-10-22 15:43:18 -07:00
Ryan Cavanaugh
9da964f019
Remove extra semicolon (the irony)
2015-10-22 11:39:41 -07:00
Ryan Cavanaugh
69236c9be8
Add rule to check spaces around intersection/union type operators
2015-10-22 11:35:48 -07:00
Wesley Wigham
e16a14b5b3
tslint had a new release and added this rule, theirs was a little stricter
2015-10-02 15:15:39 -07:00
Wesley Wigham
fe5bca8712
Next-line rule was too strict
...
We have a few places where we do this:
```ts
if {
//...
}
// Look, a comment
else {
//...
}
```
I don't think we want to forbid these cases, so I'm loosening the requirement from "must be on the line after the prior curly brace" to "can't be on the same line as the curly brace".
2015-09-17 19:11:44 -07:00
Wesley Wigham
2793bc2acd
Feedback from PR, remove unused identifiers
2015-09-17 14:29:52 -07:00
Wesley Wigham
0d88d8df68
Simplify it a bit
2015-08-26 14:48:52 -07:00
Wesley Wigham
dc9dd3e667
Give up on real typechecking, just check literals
2015-08-26 14:47:25 -07:00
Wesley Wigham
1cd016b289
Boolean trivia rule
2015-08-26 11:59:53 -07:00
Wesley Wigham
7813121c4d
compile vs tslints services dts, null check lint
2015-08-25 18:37:52 -07:00
Wesley Wigham
c31ad6fb28
Add tslint rules for #3994
2015-08-25 18:09:32 -07:00