ubiquity / ts-template

A template repository for all @ubiquity projects.
2 stars 24 forks source link

Knip Report #28

Closed 0x4007 closed 8 months ago

0x4007 commented 8 months ago

Handle all of these either by removing them (ideal) or by ignoring them etc if they must be. For example, the eslint stuff probably needs to be ignored since its not used at runtime, but instead, during commits in development.


Unused devDependencies (5)

Filename devDependencies
package.json @mswjs/databr/>`@types/jest`<br/eslint-config-prettier
eslint-plugin-prettier
ts-node

Unlisted dependencies (1)

Filename unlisted
tests/main.test.ts @jest/globals

Originally posted by @github-actions[bot] in https://github.com/ubiquity/ts-template/issues/27#issuecomment-1980187255

gentlementlegen commented 8 months ago

/start

ubiquibot[bot] commented 8 months ago

DeadlineFri, Mar 8, 10:21 AM UTC
Registered Wallet 0x0fC1b909ba9265A846b82CF4CE352fc3e7EeB2ED
Tips:
gentlementlegen commented 8 months ago

@pavlovcik So to address all of the issues:

What I did in the end is adding all of them to the ignored dependencies, I don't see a better solution at least for now.

Another option would be to use the new eslint flat configuration. But this requires to have a js file with the config which I know you don't like: https://github.com/prettier/eslint-plugin-prettier?tab=readme-ov-file#configuration-new-eslintconfigjs

0x4007 commented 8 months ago

Okay so regarding ts-node can we do a json config?

gentlementlegen commented 8 months ago

@pavlovcik Just changed the configuration of Jest to be done through a JSON file.

ubiquibot[bot] commented 8 months ago
+ Evaluating results. Please wait...
ubiquibot[bot] commented 8 months ago

[ 30 WXDAI ]

@pavlovcik
Contributions Overview
ViewContributionCountReward
IssueSpecification127.8
IssueComment12.2
Conversation Incentives
CommentFormattingRelevanceReward
Handle all of these either by removing them (ideal) or by ignori...
27.8
h3:
  count: 2
  score: "2"
  words: 6
code:
  count: 6
  score: "6"
  words: 14
td:
  count: 4
  score: "4"
  words: 44
hr:
  count: 1
  score: "1"
  words: 0
127.8
Okay so regarding ts-node can we do a json config?...
2.20.82.2

[ 87.3 WXDAI ]

@FernandVEYRIER
Contributions Overview
ViewContributionCountReward
IssueTask150
IssueComment20
IssueComment225.7
ReviewComment15.8
ReviewComment15.8
Conversation Incentives
CommentFormattingRelevanceReward
@pavlovcik So to address all of the issues: - Jest and Eslint r...
-
li:
  count: 3
  score: "0"
  words: 76
code:
  count: 7
  score: "0"
  words: 9
0.87-
@pavlovcik Just changed the configuration of Jest to be done thr...
-0.63-
@pavlovcik So to address all of the issues: - Jest and Eslint r...
24.3
li:
  count: 3
  score: "3"
  words: 76
code:
  count: 7
  score: "7"
  words: 9
0.8724.3
@pavlovcik Just changed the configuration of Jest to be done thr...
1.40.631.4
@pavlovcik The results from Knip seem to be empty and clean yet ...
5.80.355.8
@pavlovcik The results from Knip seem to be empty and clean yet ...
5.80.355.8