|
3 | 3 |
|
4 | 4 | ESLint audits
|
5 | 5 |
|
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 |
26 | 30 | 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 |
45 | 53 | `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 |
51 | 61 | 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 |
62 | 75 |
|
63 | 76 |
|
64 | 77 | Lighthouse audits
|
65 | 78 |
|
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 |
71 | 87 |
|
72 | 88 | Made with ❤ by code-pushup.dev
|
0 commit comments