You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/plugin-eslint/README.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,11 @@ Detected ESLint rules are mapped to Code PushUp audits. Audit reports are calcul
81
81
};
82
82
```
83
83
84
-
5. (Optional) Reference audits (or groups) which you wish to include in custom categories (use `npx code-pushup print-config` to list audits and groups).
84
+
5. Run the CLIwith`npx code-pushup collect` and view or upload report (refer to [CLI docs](../cli/README.md)).
85
+
86
+
### Optionally set up categories
87
+
88
+
1. Reference audits (or groups) which you wish to include in custom categories (use `npx code-pushup print-config` to list audits and groups).
85
89
86
90
Assign weights based on what influence each ESLint rule should have on the overall category score (assign weight 0 to only include as extra info, without influencing category score).
87
91
Note that categories can combine multiple plugins.
@@ -174,4 +178,8 @@ Detected ESLint rules are mapped to Code PushUp audits. Audit reports are calcul
174
178
};
175
179
```
176
180
177
-
6. Run the CLIwith`npx code-pushup collect` and view or upload report (refer to [CLI docs](../cli/README.md)).
181
+
2. Run the CLIwith`npx code-pushup collect` and view or upload report (refer to [CLI docs](../cli/README.md)).
182
+
183
+
## Nx Monorepo Setup
184
+
185
+
Find all details in our [Nx setup guide](https://github.com/code-pushup/cli/wiki/Code-PushUp-integration-guide-for-Nx-monorepos#eslint-config).
0 commit comments