Commit graph

2519 commits

Author SHA1 Message Date
glacambre
f16dc99589
TSLint: re-enable no-var-keyword rule 2019-04-10 06:54:10 +02:00
glacambre
5f05833cde
TSLint: re-enable no-variable-usage-before-declaration rule 2019-04-10 06:51:14 +02:00
glacambre
bd65146ca8
TSLint: re-enable no-unnecessary-initializer rule 2019-04-10 06:47:46 +02:00
glacambre
3ff4713247
TSLint: re-enable no-trailing-whitespace rule 2019-04-10 06:39:19 +02:00
Oliver Blanthorn
a7281585e4
Merge pull request #1450 from tridactyl/fix_saveas_completion
Fix completions/FileSystem.ts
2019-04-09 07:32:20 +01:00
glacambre
b54e08aa42
Fix completions/FileSystem.ts
Prettier broke it a long time ago.
2019-04-09 06:45:21 +02:00
Oliver Blanthorn
d736117a38
Merge pull request #1442 from tridactyl/autofill_new_issues
Add `:issue` excmd and autocmd to autofill new issues
2019-04-08 20:32:08 +01:00
glacambre
52103a0578
Add :issue excmd and autocmd to autofill new issues 2019-04-08 09:10:34 +02:00
Oliver Blanthorn
331233b32e
Merge pull request #1439 from tridactyl/replace_prettier_with_tslint
Replace prettier with tslint where possible
2019-04-07 09:47:19 +01:00
glacambre
93a66ec96b
Replace prettier with tslint where possible 2019-04-06 22:52:07 +02:00
Oliver Blanthorn
e46fa09ba6
Merge pull request #1437 from tridactyl/tslint_rules_reactivation
Tslint rules reactivation
2019-04-05 13:32:40 +01:00
glacambre
00ce513ccc
TSLint: re-enable no-conditional-assignment rule 2019-04-05 13:38:14 +02:00
glacambre
3953830787
TSLint: re-enable import-spacing rule 2019-04-05 13:20:23 +02:00
glacambre
85706a4347
TSLint: re-enable radix rule 2019-04-05 13:16:04 +02:00
glacambre
0f5068f34c
TSLint: re-enable quotemark rule 2019-04-05 13:11:49 +02:00
glacambre
15e26d65a2
TSLint: re-enable prefer-promise-shorthand rule 2019-04-05 13:09:04 +02:00
glacambre
0e1ed199f3
TSLint: re-enable prefer-immediate-return rule 2019-04-05 13:05:37 +02:00
Oliver Blanthorn
f85227ec85
Merge pull request #1436 from tridactyl/tslint_rules_reactivation
TSLint: re-enable one-variable-per-declaration rule
2019-04-05 10:24:14 +01:00
glacambre
2ac27b0b1d
TSLint: re-enable one-variable-per-declaration rule 2019-04-05 08:59:21 +02:00
Oliver Blanthorn
373935fc61
Merge pull request #1435 from tridactyl/tslint_rules_reactivation
Tslint rules reactivation
2019-04-04 12:49:52 +01:00
glacambre
c5948c640d
TSLint: re-enable object-literal-shorthand rule 2019-04-04 13:30:11 +02:00
glacambre
8b3b809417
TSLint: re-enable no-useless-catch rule 2019-04-04 13:10:46 +02:00
Oliver Blanthorn
4adc256d8a
Merge pull request #1434 from tridactyl/bind_J_and_K
config.ts: Bind J to tabprev and K to tabnext
2019-04-04 10:12:15 +01:00
Oliver Blanthorn
5bbc22c162
Merge pull request #1432 from tridactyl/tslint_rules_reactivation
Tslint rules reactivation
2019-04-04 10:11:29 +01:00
glacambre
70f7769e3c
config.ts: Bind J to tabprev and K to tabnext
Closes #1433 and #1406
2019-04-04 08:08:16 +02:00
glacambre
1b7c4f2052
TSLint: re-enable no-useless-cast rule 2019-04-04 07:09:44 +02:00
glacambre
b70832ef40
TSLint: re-enable no-unused-expression rule 2019-04-04 06:54:11 +02:00
glacambre
c03b483261
TSLint: re-enable no-unenclosed-multiline-block rule 2019-04-04 06:47:14 +02:00
glacambre
8f77bdc0fe
TSLint: re-enable no-try-promise rule 2019-04-04 06:41:25 +02:00
glacambre
fd09bd6c1d
TSLint: re-enable no-string-literal rule 2019-04-03 19:09:49 +02:00
glacambre
600a324941
TSLint: re-enable no-self-assignment rule 2019-04-03 18:34:19 +02:00
glacambre
0734798c45
TSLint: re-enable no-misleading-array-reverse rule
The no-misleading-array-reverse rule prevents using .sort() and
.reverse() in chains because this make these calls look like they return
a new sorted/reversed slice. But the truth is, these functions modify
the array in place and return that same array, which could cause quite a
lot of confusion if you don't expect that.
2019-04-03 18:27:50 +02:00
glacambre
e3c6c13573
TSLint: re-enable no-ignored-return rule 2019-04-03 18:16:59 +02:00
Oliver Blanthorn
d5e2b52e44
Merge pull request #1431 from tridactyl/tslint_rules_reactivation
Tslint rules reactivation
2019-04-03 13:07:23 +01:00
glacambre
5ae3f501a2
TSLint: re-enable no-small-switch rule 2019-04-03 13:49:38 +02:00
glacambre
8716fcaba3
TSLint: re-enable no-redundant-jump rule 2019-04-03 13:41:26 +02:00
glacambre
94a6f240ea
TSLint: re-enable no-redundant-boolean rule 2019-04-03 13:38:55 +02:00
glacambre
a943081f3b
TSLint: re-enable no-nested-template-literals rule 2019-04-03 13:33:03 +02:00
Oliver Blanthorn
a58b93f9af
Merge pull request #1430 from tridactyl/tslint_rules_reactivation
Tslint rules reactivation
2019-04-03 12:08:41 +01:00
glacambre
270a1dbf9c
TSLint: re-enable no-dead-store rule
No point in storing things that we're not going to use.
2019-04-03 07:45:09 +02:00
glacambre
7240444d9a
TSLint: re-enable no-consecutive-blank-lines rule
Deactivated in excmds.ts as it is used to generate
.excmds_{background,content}.generated.ts which are full of consecutive
blank lines.
2019-04-03 07:17:48 +02:00
glacambre
15b627c340
TSLint: re-enable no-collapsible-if rule
This rule detects unnecessary nesting of if/else statements and tells
you to remove them.
2019-04-03 07:03:03 +02:00
glacambre
cb7c5f2932
TSLint: re-enable no-bitwise rule
Bitwise operations can be confusing so let's not use them.
2019-04-03 06:55:37 +02:00
glacambre
9119944bd9
TSLint: re-enable no-angle-bracket-type-assertion rule
This rule enforces using `x as y` instead of `<y>x` in order to cast
elements. This makes things easier to read and protects against
conflicts with tsx.
2019-04-03 06:33:13 +02:00
Oliver Blanthorn
f1ad4a36b1
Merge pull request #1429 from tridactyl/tslint_rules_reactivation
Tslint rules reactivation
2019-04-02 20:22:28 +01:00
glacambre
2ccd6bd4a4
Fix completions broken by prettier 2019-04-02 18:59:47 +02:00
glacambre
673bf6f280
TSLint: re-enable member-ordering rule
The member-ordering rule enforces declaring public functions before
private functions.
2019-04-02 18:37:02 +02:00
glacambre
f8419b20ed
TSLint: re-enable interface-over-type-literal rule
The interface-over-type-literal rule specifies that object types should
be represented with `interface` instead of `type` if possible.
2019-04-02 18:22:54 +02:00
glacambre
3c9c3867e2
TSLint: re-enable forin rule
The forin rule forbids using the `for (let key in object)` syntax. This
is because iterating with `for in` also iterates over keys obtained from
prototypal inheritance. This is most of the time wrong and using `for
(let key of Object.keys(object)` protects against that.
2019-04-02 18:17:12 +02:00
Oliver Blanthorn
071e5a9eff
Merge pull request #1427 from tridactyl/tslint_rules_reactivation
Tslint rules reactivation
2019-04-02 13:00:32 +01:00