ubiquibot / plugin-template

Template repository for plugins that will run within Ubiquibot.
0 stars 3 forks source link

Update `eslint` to `v9` #5

Closed gentlementlegen closed 1 week ago

gentlementlegen commented 1 week ago

We are using an old version of eslint which differs in the way of how the configuration is defined. A new format called flat format is now in used, and has benefits like having a fully type supported typescript check within the configuration. It would be nice to benefit from that upgrade for the new plugins.

References: https://eslint.org/docs/latest/use/migrate-to-9.0.0 https://typescript-eslint.io/getting-started

ubiquibot[bot] commented 1 week ago
+ Evaluating results. Please wait...
ubiquibot[bot] commented 1 week ago

[ 91.7 WXDAI ]

@gentlementlegen
Contributions Overview
ViewContributionCountReward
IssueSpecification117.8
IssueTask125
ReviewComment132.6
ReviewComment116.3
Conversation Incentives
CommentFormattingRelevanceReward
We are using an old version of `eslint` which differs in...
17.8
code:
  count: 3
  score: "3"
  words: 4
117.8
## What changed - pinned package versions to avoid (bad) surpri...
32.6
h2:
  count: 1
  score: "2"
  words: 2
li:
  count: 7
  score: "14"
  words: 73
code:
  count: 1
  score: "2"
  words: 1
0.6632.6
## What changed - pinned package versions to avoid (bad) surpri...
16.3
h2:
  count: 1
  score: "1"
  words: 2
li:
  count: 7
  score: "7"
  words: 73
code:
  count: 1
  score: "1"
  words: 1
0.6616.3
0x4007 commented 1 week ago

I guess the rewards calculation for the pull comments are very broken this time @gentlementlegen

When v2?

gentlementlegen commented 1 week ago

@0x4007 Seems v2 went on a break as well, I do not see anymore logs. Might be because it's not using the main branch for deployments (I think I sent you a message about this). Waiting of start | stop then good to go. https://github.com/ubiquibot/command-start-stop/pull/1