Skip to content

Commit 2d12507

Browse files
committed
feat(utils): increase audit value column width
1 parent e44ab3e commit 2d12507

File tree

10 files changed

+173
-124
lines changed

10 files changed

+173
-124
lines changed

packages/utils/src/lib/reports/__snapshots__/report-diff-added.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ All of 1 group is unchanged.
2525
| :----------------------------------------------------------------- | :------------------------------------------------------------------------------- | :---------------: | :--------------: | :------------------------------------------------------------------------------: |
2626
| [ESLint](https://www.npmjs.com/package/@code-pushup/eslint-plugin) | [Disallow unused variables](https://eslint.org/docs/latest/rules/no-unused-vars) | 🟩 passed | 🟥 **1 error** | ![↑ +∞ %](https://img.shields.io/badge/%E2%86%91%20%2B%E2%88%9E%E2%80%89%25-red) |
2727

28-
48 other audits are unchanged.
28+
49 other audits are unchanged.
2929

3030
</details>

packages/utils/src/lib/reports/__snapshots__/report-diff-improved.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@
4242
| Lighthouse | [First Contentful Paint](https://developer.chrome.com/docs/lighthouse/performance/first-contentful-paint/) | 🟨 1.2 s | 🟨 **1.1 s** | ![↓ −4 %](https://img.shields.io/badge/%E2%86%93%20%E2%88%924%E2%80%89%25-green) |
4343
| Lighthouse | [Speed Index](https://developer.chrome.com/docs/lighthouse/performance/speed-index/) | 🟩 1.2 s | 🟩 **1.1 s** | ![↓ −4 %](https://img.shields.io/badge/%E2%86%93%20%E2%88%924%E2%80%89%25-green) |
4444

45-
40 other audits are unchanged.
45+
41 other audits are unchanged.
4646

4747
</details>

packages/utils/src/lib/reports/__snapshots__/report-diff-mixed.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
| Lighthouse | [First Contentful Paint](https://developer.chrome.com/docs/lighthouse/performance/first-contentful-paint/) | 🟨 1.2 s | 🟨 **1.1 s** | ![↓ −4 %](https://img.shields.io/badge/%E2%86%93%20%E2%88%924%E2%80%89%25-green) |
3636
| Lighthouse | [Speed Index](https://developer.chrome.com/docs/lighthouse/performance/speed-index/) | 🟩 1.2 s | 🟩 **1.1 s** | ![↓ −4 %](https://img.shields.io/badge/%E2%86%93%20%E2%88%924%E2%80%89%25-green) |
3737

38-
48 other audits are unchanged.
38+
49 other audits are unchanged.
3939

4040
</details>

packages/utils/src/lib/reports/__snapshots__/report-diff-unchanged.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ All of 2 groups are unchanged.
1616

1717
## 🛡️ Audits
1818

19-
All of 52 audits are unchanged.
19+
All of 53 audits are unchanged.

packages/utils/src/lib/reports/__snapshots__/report-diff-with-portal-link.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@
3737
| Lighthouse | [First Contentful Paint](https://developer.chrome.com/docs/lighthouse/performance/first-contentful-paint/) | 🟨 1.2 s | 🟨 **1.1 s** | ![↓ −4 %](https://img.shields.io/badge/%E2%86%93%20%E2%88%924%E2%80%89%25-green) |
3838
| Lighthouse | [Speed Index](https://developer.chrome.com/docs/lighthouse/performance/speed-index/) | 🟩 1.2 s | 🟩 **1.1 s** | ![↓ −4 %](https://img.shields.io/badge/%E2%86%93%20%E2%88%924%E2%80%89%25-green) |
3939

40-
48 other audits are unchanged.
40+
49 other audits are unchanged.
4141

4242
</details>

packages/utils/src/lib/reports/__snapshots__/report-stdout-no-categories.txt

+74-58
Original file line numberDiff line numberDiff line change
@@ -3,70 +3,86 @@ Code PushUp Report - @code-pushup/[email protected]
33

44
ESLint audits
55

6-
● Disallow missing props validation in a React component definition 6 warnings
7-
● Disallow variable declarations from shadowing variables declared 3 warnings
8-
in the outer scope
9-
● Require or disallow method and property shorthand syntax for 3 warnings
10-
object literals
11-
● verifies the list of dependencies for Hooks like useEffect and 2 warnings
12-
similar
13-
● Disallow missing `key` props in iterators/collection literals 1 warning
14-
● Disallow unused variables 1 warning
15-
● Enforce a maximum number of lines of code in a function 1 warning
16-
● Require `const` declarations for variables that are never 1 warning
17-
reassigned after declared
18-
● Require braces around arrow function bodies 1 warning
19-
● Require the use of `===` and `!==` 1 warning
20-
● Disallow `target="_blank"` attribute without `rel="noreferrer"` passed
21-
● Disallow assignment operators in conditional expressions passed
22-
● Disallow comments from being inserted as text nodes passed
23-
● Disallow direct mutation of this.state passed
24-
● Disallow duplicate properties in JSX passed
25-
● Disallow invalid regular expression strings in `RegExp` passed
6+
● Disallow missing props validation in a React component 6 warnings
7+
definition
8+
● Disallow variable declarations from shadowing variables 3 warnings
9+
declared in the outer scope
10+
● Require or disallow method and property shorthand 3 warnings
11+
syntax for object literals
12+
● verifies the list of dependencies for Hooks like 2 warnings
13+
useEffect and similar
14+
● Disallow missing `key` props in iterators/collection 1 warning
15+
literals
16+
● Disallow unused variables 1 warning
17+
● Enforce a maximum number of lines of code in a function 1 warning
18+
● Require `const` declarations for variables that are 1 warning
19+
never reassigned after declared
20+
● Require braces around arrow function bodies 1 warning
21+
● Require the use of `===` and `!==` 1 warning
22+
● Disallow `target="_blank"` attribute without passed
23+
`rel="noreferrer"`
24+
● Disallow assignment operators in conditional passed
25+
expressions
26+
● Disallow comments from being inserted as text nodes passed
27+
● Disallow direct mutation of this.state passed
28+
● Disallow duplicate properties in JSX passed
29+
● Disallow invalid regular expression strings in `RegExp` passed
2630
constructors
27-
● Disallow loops with a body that allows only one iteration passed
28-
● Disallow missing displayName in a React component definition passed
29-
● Disallow missing React when using JSX passed
30-
● Disallow negating the left operand of relational operators passed
31-
● Disallow passing of children as props passed
32-
● Disallow React to be incorrectly marked as unused passed
33-
● Disallow reassigning `const` variables passed
34-
● Disallow the use of `debugger` passed
35-
● Disallow the use of undeclared variables unless mentioned in passed
36-
`/*global */` comments
37-
● Disallow undeclared variables in JSX passed
38-
● Disallow unescaped HTML entities from appearing in markup passed
39-
● Disallow usage of deprecated methods passed
40-
● Disallow usage of findDOMNode passed
41-
● Disallow usage of isMounted passed
42-
● Disallow usage of the return value of ReactDOM.render passed
43-
● Disallow usage of unknown DOM property passed
44-
● Disallow use of optional chaining in contexts where the passed
31+
● Disallow loops with a body that allows only one passed
32+
iteration
33+
● Disallow missing displayName in a React component passed
34+
definition
35+
● Disallow missing React when using JSX passed
36+
● Disallow negating the left operand of relational passed
37+
operators
38+
● Disallow passing of children as props passed
39+
● Disallow React to be incorrectly marked as unused passed
40+
● Disallow reassigning `const` variables passed
41+
● Disallow the use of `debugger` passed
42+
● Disallow the use of undeclared variables unless passed
43+
mentioned in `/*global */` comments
44+
● Disallow undeclared variables in JSX passed
45+
● Disallow unescaped HTML entities from appearing in passed
46+
markup
47+
● Disallow usage of deprecated methods passed
48+
● Disallow usage of findDOMNode passed
49+
● Disallow usage of isMounted passed
50+
● Disallow usage of the return value of ReactDOM.render passed
51+
● Disallow usage of unknown DOM property passed
52+
● Disallow use of optional chaining in contexts where the passed
4553
`undefined` value is not allowed
46-
● Disallow using Object.assign with an object literal as the first passed
47-
argument and prefer the use of object spread instead
48-
● Disallow using string references passed
49-
● Disallow variables used in JSX to be incorrectly marked as unused passed
50-
● Disallow when a DOM element is using both children and passed
54+
● Disallow using Object.assign with an object literal as passed
55+
the first argument and prefer the use of object spread
56+
instead
57+
● Disallow using string references passed
58+
● Disallow variables used in JSX to be incorrectly marked passed
59+
as unused
60+
● Disallow when a DOM element is using both children and passed
5161
dangerouslySetInnerHTML
52-
● Enforce a maximum number of lines per file passed
53-
● Enforce camelcase naming convention passed
54-
● Enforce comparing `typeof` expressions against valid strings passed
55-
● Enforce consistent brace style for all control statements passed
56-
● Enforce ES5 or ES6 class for returning value in render function passed
57-
● enforces the Rules of Hooks passed
58-
● Require `let` or `const` instead of `var` passed
59-
● Require calls to `isNaN()` when checking for `NaN` passed
60-
● Require or disallow "Yoda" conditions passed
61-
● Require using arrow functions for callbacks passed
62+
● Enforce a maximum number of lines per file passed
63+
● Enforce camelcase naming convention passed
64+
● Enforce comparing `typeof` expressions against valid passed
65+
strings
66+
● Enforce consistent brace style for all control passed
67+
statements
68+
● Enforce ES5 or ES6 class for returning value in render passed
69+
function
70+
● enforces the Rules of Hooks passed
71+
● Require `let` or `const` instead of `var` passed
72+
● Require calls to `isNaN()` when checking for `NaN` passed
73+
● Require or disallow "Yoda" conditions passed
74+
● Require using arrow functions for callbacks passed
6275

6376

6477
Lighthouse audits
6578

66-
● First Contentful Paint 1.2 s
67-
● Largest Contentful Paint 1.5 s
68-
● Speed Index 1.2 s
69-
● Cumulative Layout Shift 0
70-
● Total Blocking Time 0 ms
79+
● Minimize third-party usage Third-party code
80+
blocked the main
81+
thread for 6,850 ms
82+
● First Contentful Paint 1.2 s
83+
● Largest Contentful Paint 1.5 s
84+
● Speed Index 1.2 s
85+
● Cumulative Layout Shift 0
86+
● Total Blocking Time 0 ms
7187

7288
Made with ❤ by code-pushup.dev

0 commit comments

Comments
 (0)