issue #1376 More consistent formatting#1431
Conversation
|
That looks ok, now you want to make sure that the CI tests for it, like on browser extension: jobs:
- name: code quality
commands:
- npm run-script test_tslint
- npm run-script test_eslint
- npm run-script test_stylelint |
|
You'll also want to copy large part of the workspace file - recommeded extensions and workpace style settings: https://github.com/FlowCrypt/flowcrypt-browser/blob/master/flowcrypt-browser.code-workspace |
|
There are lots of warnings from running eslint and tslint, so I'm going to fix that. |
|
To self-correct, |
|
This pull request introduces 1 alert when merging dee0035 into 628006b - view on LGTM.com new alerts:
|
tomholub
left a comment
There was a problem hiding this comment.
120 is way too short. But I'll live with it. See comments
|
This pull request introduces 1 alert when merging c7de4e9 into e31a595 - view on LGTM.com new alerts:
|
|
This pull request introduces 1 alert when merging d86591d into e31a595 - view on LGTM.com new alerts:
|
|
This pull request introduces 1 alert when merging 3089e81 into e31a595 - view on LGTM.com new alerts:
|
|
This pull request introduces 1 alert when merging 61279a6 into e31a595 - view on LGTM.com new alerts:
|
|
This pull request introduces 1 alert when merging f83f39c into e31a595 - view on LGTM.com new alerts:
|
|
This pull request introduces 1 alert when merging a614bc1 into e31a595 - view on LGTM.com new alerts:
|
|
@tomholub Swift tests also fail here |
|
They should stabilize once #1480 merges today |
| variant: 'curve25519', passphrase: 'riruekfhydekdmdbsyd', | ||
| userIds: [{ email: 'a@b.com', name: 'Him' }] | ||
| })); | ||
| // tslint:disable:no-unsafe-any |
There was a problem hiding this comment.
no-unsafe-any should not apply to tests. Can you exclude all tests from this rule?
There was a problem hiding this comment.
Alternatively, can put one no-unsafe-any exception on top of every test file that needs it
There was a problem hiding this comment.
Not sure how to disable specific rule for the specific file. Yes, I think it's easier to disable rule right in the file.
This PR adds some settings for formatting
close #1376
Tests (delete all except exactly one):
To be filled by reviewers
I have reviewed that this PR... (tick whichever items you personally focused on during this review):