@@ -6,141 +6,21 @@ exports[`report-to-stdout > should contain all sections when using the fixture r
6
6
[3m[90mPackage Name: @code-pushup/core[39m[23m
7
7
[3m[90mVersion: 0.1.0[39m[23m
8
8
[3m[90mCommit: feat(cli): add logic for markdown report - 7eba125ad5643c2f90cb21389fc3442d786f43f9[39m[23m
9
- [3m[90mDate: 2023-10-18T07:49:45.506Z [39m[23m
10
- [3m[90mDuration: 1652ms [39m[23m
11
- [3m[90mPlugins: 2 [39m[23m
12
- [3m[90mAudits: 52 [39m[23m
9
+ [3m[90mDate: today [39m[23m
10
+ [3m[90mDuration: 42ms [39m[23m
11
+ [3m[90mPlugins: 1 [39m[23m
12
+ [3m[90mAudits: 1 [39m[23m
13
13
[3m[90m---[39m[23m
14
14
15
15
16
16
Category Score Audits
17
- Performance 1 2/1
18
- Bug prevention 19 16/19
19
- Code style 13 13/13
17
+ Category 1 0 1/1
20
18
21
19
22
- [1mPerformance 1[22m
23
- - Disallow missing \` key\` props in iterators/collection literals (0)
24
- ESLint rule **jsx-key**, from _react_ plugin.
25
- https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-key.md
26
-
27
- [1mBug prevention 19[22m
28
- - Disallow assignment operators in conditional expressions (1)
29
- ESLint rule **no-cond-assign**.
30
- https://eslint.org/docs/latest/rules/no-cond-assign
31
-
32
- - Disallow reassigning \` const\` variables (1)
33
- ESLint rule **no-const-assign**.
34
- https://eslint.org/docs/latest/rules/no-const-assign
35
-
36
- - Disallow the use of \` debugger\` (1)
37
- ESLint rule **no-debugger**.
38
- https://eslint.org/docs/latest/rules/no-debugger
39
-
40
- - Disallow invalid regular expression strings in \` RegExp\` constructors (1)
41
- ESLint rule **no-invalid-regexp**.
42
- https://eslint.org/docs/latest/rules/no-invalid-regexp
43
-
44
- - Disallow the use of undeclared variables unless mentioned in \` /*global */\` comments (1)
45
- ESLint rule **no-undef**.
46
- https://eslint.org/docs/latest/rules/no-undef
47
-
48
- - Disallow loops with a body that allows only one iteration (1)
49
- ESLint rule **no-unreachable-loop**.
50
- https://eslint.org/docs/latest/rules/no-unreachable-loop
51
-
52
- - Disallow negating the left operand of relational operators (1)
53
- ESLint rule **no-unsafe-negation**.
54
- https://eslint.org/docs/latest/rules/no-unsafe-negation
55
-
56
- - Disallow use of optional chaining in contexts where the \` undefined\` value is not allowed (1)
57
- ESLint rule **no-unsafe-optional-chaining**.
58
- https://eslint.org/docs/latest/rules/no-unsafe-optional-chaining
59
-
60
- - Require calls to \` isNaN()\` when checking for \` NaN\` (1)
61
- ESLint rule **use-isnan**.
62
- https://eslint.org/docs/latest/rules/use-isnan
63
-
64
- - Enforce comparing \` typeof\` expressions against valid strings (1)
65
- ESLint rule **valid-typeof**.
66
- https://eslint.org/docs/latest/rules/valid-typeof
67
-
68
- - Require the use of \` ===\` and \` !==\` (1)
69
- ESLint rule **eqeqeq**.
70
- https://eslint.org/docs/latest/rules/eqeqeq
71
-
72
- - Disallow missing \` key\` props in iterators/collection literals (2)
73
- ESLint rule **jsx-key**, from _react_ plugin.
74
- https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-key.md
75
-
76
- - Disallow missing props validation in a React component definition (1)
77
- ESLint rule **prop-types**, from _react_ plugin.
78
- https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prop-types.md
79
-
80
- - Disallow missing React when using JSX (1)
81
- ESLint rule **react-in-jsx-scope**, from _react_ plugin.
82
- https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/react-in-jsx-scope.md
83
-
84
- - enforces the Rules of Hooks (2)
85
- ESLint rule **rules-of-hooks**, from _react-hooks_ plugin.
86
- https://reactjs.org/docs/hooks-rules.html
87
-
88
- - verifies the list of dependencies for Hooks like useEffect and similar (2)
89
- ESLint rule **exhaustive-deps**, from _react-hooks_ plugin.
90
- https://github.com/facebook/react/issues/14920
91
-
92
- [1mCode style 13[22m
93
- - Disallow unused variables (1)
94
- ESLint rule **no-unused-vars**.
95
- https://eslint.org/docs/latest/rules/no-unused-vars
96
-
97
- - Require braces around arrow function bodies (1)
98
- ESLint rule **arrow-body-style**.
99
- https://eslint.org/docs/latest/rules/arrow-body-style
100
-
101
- - Enforce camelcase naming convention (1)
102
- ESLint rule **camelcase**.
103
- https://eslint.org/docs/latest/rules/camelcase
104
-
105
- - Enforce consistent brace style for all control statements (1)
106
- ESLint rule **curly**.
107
- https://eslint.org/docs/latest/rules/curly
108
-
109
- - Require the use of \` ===\` and \` !==\` (1)
110
- ESLint rule **eqeqeq**.
111
- https://eslint.org/docs/latest/rules/eqeqeq
112
-
113
- - Enforce a maximum number of lines of code in a function (1)
114
- ESLint rule **max-lines-per-function**.
115
- https://eslint.org/docs/latest/rules/max-lines-per-function
116
-
117
- - Enforce a maximum number of lines per file (1)
118
- ESLint rule **max-lines**.
119
- https://eslint.org/docs/latest/rules/max-lines
120
-
121
- - Require or disallow method and property shorthand syntax for object literals (1)
122
- ESLint rule **object-shorthand**.
123
- https://eslint.org/docs/latest/rules/object-shorthand
124
-
125
- - Require using arrow functions for callbacks (1)
126
- ESLint rule **prefer-arrow-callback**.
127
- https://eslint.org/docs/latest/rules/prefer-arrow-callback
128
-
129
- - Require \` const\` declarations for variables that are never reassigned after declared (1)
130
- ESLint rule **prefer-const**.
131
- https://eslint.org/docs/latest/rules/prefer-const
132
-
133
- - Disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead (1)
134
- ESLint rule **prefer-object-spread**.
135
- https://eslint.org/docs/latest/rules/prefer-object-spread
136
-
137
- - Require or disallow \\ "Yoda\\ " conditions (1)
138
- ESLint rule **yoda**.
139
- https://eslint.org/docs/latest/rules/yoda
140
-
141
- - Require \` let\` or \` const\` instead of \` var\` (1)
142
- ESLint rule **no-var**.
143
- https://eslint.org/docs/latest/rules/no-var
20
+ [1mCategory 1 0[22m
21
+ - Audit Title (1)
22
+ audit description
23
+ http://www.my-docs.dev
144
24
145
25
146
26
0 commit comments