File tree 2 files changed +3
-3
lines changed
e2e/cli-e2e/tests/__snapshots__
packages/utils/src/lib/reports
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
7
7
| 🏷️ Category| ⭐ Current score| ⭐ Previous score| 🔄 Score change|
8
8
| :--| :--:| :--:| :--:|
9
- | Code style| 🟡 ** 77** | 🟡 54| ![ ↑ +23] ( https://img.shields.io/badge/%E2%86%91%20%2B23-green ) |
9
+ | Code style| 🟡 ** 77** | 🟡 54| ![ ↑ +23.1 ] ( https://img.shields.io/badge/%E2%86%91%20%2B23.1 -green ) |
10
10
| Bug prevention| 🟡 ** 68** | 🟡 68| –|
11
11
12
12
## 🎗️ Groups
16
16
17
17
| 🔌 Plugin| 🗃️ Group| ⭐ Current score| ⭐ Previous score| 🔄 Score change|
18
18
| :--| :--| :--:| :--:| :--:|
19
- | ESLint| Suggestions| 🟡 ** 71** | 🟡 50| ![ ↑ +21] ( https://img.shields.io/badge/%E2%86%91%20%2B21-green ) |
19
+ | ESLint| Suggestions| 🟡 ** 71** | 🟡 50| ![ ↑ +21.4 ] ( https://img.shields.io/badge/%E2%86%91%20%2B21.4 -green ) |
20
20
21
21
3 other groups are unchanged.
22
22
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ function formatGroupsOrAuditsDetails<T extends 'group' | 'audit'>(
179
179
180
180
function formatScoreChange ( diff : number ) : string {
181
181
const marker = getDiffMarker ( diff ) ;
182
- const text = formatDiffNumber ( Math . round ( diff * 100 ) ) ;
182
+ const text = formatDiffNumber ( Math . round ( diff * 1000 ) / 10 ) ; // round with max 1 decimal
183
183
return colorByScoreDiff ( `${ marker } ${ text } ` , diff ) ;
184
184
}
185
185
You can’t perform that action at this time.
0 commit comments