glacambre
923f9caf92
TSLint: enable no-unused-declaration rule
...
This rule requires adding a new set of rules, tslint-etc.
no-unused-declaration used to be available in tslint:recommended but was
deprecated when --noUnusedVariables was added to typescript. The problem
with using TypeScript's --noUnusedVariables is that it turns unused
declarations into an error and prevents compilation, which isn't fun
when you're just prototyping things.
2019-04-16 08:30:31 +02:00
Oliver Blanthorn
62bedd669a
Merge pull request #1456 from tridactyl/tslint_rules_reactivation
...
TSLint: re-enable no-identical-functions rule
2019-04-15 18:59:19 +01:00
glacambre
af20bbe4df
TSLint: re-enable no-identical-functions rule
2019-04-15 19:47:41 +02:00
Oliver Blanthorn
0a50f84c53
Merge pull request #1452 from tridactyl/tslint_rules_reactivation2
...
TSLint: re-enable prefer-const rule
2019-04-14 11:47:47 +01:00
glacambre
3fe1e5a091
TSLint: re-enable no-empty rule
2019-04-14 10:27:22 +02:00
glacambre
2b11d1d464
TSLint: re-enable prefer-const rule
2019-04-14 08:01:26 +02:00
Oliver Blanthorn
65523419e5
Merge pull request #1451 from tridactyl/tslint_rules_reactivation2
...
Tslint rules reactivation2
2019-04-12 09:06:23 +01:00
glacambre
0a8c3cd2f6
TSLint: re-enable whitespace rule
2019-04-12 05:54:31 +02:00
glacambre
37dfddca4e
TSLint: ignore generated files
...
This enables removing file-specific rules-disabling comments in
excmds.ts
2019-04-12 05:50:01 +02:00
glacambre
ff8f313aa5
Turn double-equals into triple-equals
...
See https://github.com/tridactyl/tridactyl/pull/1451
2019-04-10 12:28:47 +02:00
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