Daniel Imms
57b8e064a8
Move tslint prefer-const with the other core rules
...
The ones at the bottom are separated as they're part of tslint-consistent-codestyle
2018-09-02 13:43:37 -07:00
Daniel Imms
4af2d1ed41
Remove duplicate triple-equals rule
2018-08-27 07:26:00 -07:00
Jeff Principe
b35fa9576e
Enforce strict equality through tslint
2018-08-22 19:36:40 -07:00
Daniel Imms
2aff2eb710
Merge branch 'master' into more_naming_conventions
2018-06-03 07:23:14 -07:00
Lukas Geiger
8989a09853
Prefer const vs let for variables that are only declared once
...
Requires that variable declarations use `const` instead of `let` and `var` if possible.
This is mostly for code readability, performance wins are debatable.
2018-05-30 19:47:28 +02:00
Daniel Imms
362d7698f7
Some polish
2018-05-05 08:12:52 -07:00
Daniel Imms
aaaec75d73
Add remaining naming conventions into tslint
2018-04-26 13:54:20 -07:00
Daniel Imms
3713d282d8
Fix conflicts
2018-04-24 10:55:53 -07:00
Daniel Imms
fcde7be62a
Enforce const enums
...
Fixes #1408
2018-04-23 17:35:41 -07:00
Daniel Imms
9942dc384d
Enforce upper case for public const/enum members
...
Fixes #1406
2018-04-23 17:17:21 -07:00
Daniel Imms
9e863d0377
Add no else return tslint rule
2018-04-23 11:52:42 -07:00
Daniel Imms
ae32893732
Disallow trailing commas
2018-03-20 09:10:48 -07:00
Daniel Imms
1dce76dbbb
Add curly to tslint, fix errors
...
Fixes #1248
2018-01-25 12:17:59 -08:00
Daniel Imms
2e23dd34e0
Move xterm-internal types back into Types.ts files
2018-01-25 11:06:52 -08:00
Daniel Imms
4588d15738
Add more tslint rules, fix attach addon
2018-01-17 10:40:42 -08:00
Daniel Imms
307dd0fd68
Add several tslint rules
2018-01-17 10:32:35 -08:00
Daniel Imms
f9fce53cc4
Add typedef tslint rule
2017-08-05 13:56:38 -07:00
Daniel Imms
e6b431d92f
Add one-variable-per-declaration tslint rule
...
Multiple declarations per line makes it more difficult to read what
exactly is declared and generally makes code more verbose and less
likely to fill in types
2017-08-05 02:42:49 -07:00
Paris Kasidiaris
33f7d7649a
Add tslint
...
Fix #408
2016-12-15 13:53:26 +02:00