@webority/repo-checks 0.109.7 → 0.109.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/repo-checks.js +29 -27
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -54,6 +54,7 @@ The `missing-export:<file>` check runs the Biome installed beside the app or in
|
|
|
54
54
|
| `library-class-restyle:<file>` | A product `.scss` or `.css` selector names a class the library theme defines, including as an ancestor (`.my-page .card-body`); use a library prop or token, or a product class. Counted per file. |
|
|
55
55
|
| `rename-wrapper:<file>` | A re-export of `@webority/ui-react`, a component whose body only returns one catalogue component, or a `_Name.cshtml` partial that is one `<app-*>` element: import the library name. Counted per file. |
|
|
56
56
|
| `single-use-component:<file>` | A file under `src/components/<feature>/` (not `layout/`), or a shared partial under `Pages/Shared/` or a `*.Web.Common` project, that fewer than two files use; move it next to the page that uses it. A layout is skipped: a `_…Layout.cshtml` file, or one that a `_ViewStart.cshtml` of the same project names with `Layout = "<name>"`, because areas find it by that name. A Razor file whose first line is `@* layering-allow single-use-component: <reason> *@` is skipped too; a mark with no reason is a finding. Counted per file. |
|
|
57
|
+
| `error-summary-title:<file>` | A `.cshtml` `<app-error-summary>` sets a `title` with the old generic wording ("Please fix the following", "There were errors"); drop it, the library writes the standard heading. A computed title or one naming the failed action is not counted. Counted per file. |
|
|
57
58
|
| `oversize:<file>` | A `.jsx`, `.tsx` or `.cshtml` file over 600 lines (over 800 says to split it along its concerns). A warning only: it never fails, even outside the baseline. Counted per file. |
|
|
58
59
|
| `hook:drift` | The root `.husky/pre-commit` is missing or differs from the shared hook this package ships (CRLF is ignored) |
|
|
59
60
|
|