Skip to content

chore: fix some lint warnings#613

Merged
Shinigami92 merged 4 commits into
mainfrom
chore/fix-warnings
Mar 15, 2022
Merged

chore: fix some lint warnings#613
Shinigami92 merged 4 commits into
mainfrom
chore/fix-warnings

Conversation

@ST-DDT

@ST-DDT ST-DDT commented Mar 11, 2022

Copy link
Copy Markdown
Member

No description provided.

@ST-DDT ST-DDT added c: feature Request for new feature c: chore PR that doesn't affect the runtime behavior labels Mar 11, 2022
@ST-DDT ST-DDT self-assigned this Mar 11, 2022
@ST-DDT ST-DDT requested a review from a team as a code owner March 11, 2022 18:55
@codecov

codecov Bot commented Mar 11, 2022

Copy link
Copy Markdown

Codecov Report

Merging #613 (41efc4a) into main (09487b6) will decrease coverage by 0.00%.
The diff coverage is 98.11%.

@@            Coverage Diff             @@
##             main     #613      +/-   ##
==========================================
- Coverage   99.33%   99.33%   -0.01%     
==========================================
  Files        1920     1920              
  Lines      176469   176483      +14     
  Branches      900      905       +5     
==========================================
+ Hits       175292   175303      +11     
- Misses       1121     1124       +3     
  Partials       56       56              
Impacted Files Coverage Δ
src/helpers.ts 99.10% <88.88%> (-0.15%) ⬇️
src/date.ts 100.00% <100.00%> (ø)
src/definitions/utils.ts 100.00% <100.00%> (ø)
src/fake.ts 100.00% <100.00%> (ø)
src/finance.ts 99.32% <100.00%> (-0.01%) ⬇️
src/system.ts 96.48% <100.00%> (+0.10%) ⬆️
src/vendor/unique.ts 93.54% <0.00%> (-1.62%) ⬇️
prisis
prisis previously approved these changes Mar 15, 2022
Comment thread src/helpers.ts Outdated
Comment thread test/fake.spec.ts Outdated
Comment thread src/helpers.ts
const set = new Set(source);
const set = new Set<T>(source);
const array = Array.from(set);
return this.faker.helpers.shuffle(array).splice(0, length);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note for a later PR, IMO we should use slice instead of splice here 🤔

@Shinigami92 Shinigami92 requested a review from prisis March 15, 2022 17:14
@Shinigami92 Shinigami92 merged commit 5cb74b1 into main Mar 15, 2022
@Shinigami92 Shinigami92 deleted the chore/fix-warnings branch March 15, 2022 18:16
@ST-DDT ST-DDT mentioned this pull request Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: chore PR that doesn't affect the runtime behavior c: feature Request for new feature

3 participants