Workspace rules
Checks on the workspace layout: patterns that match nothing and directories without a manifest.
| Rule | Default severity | Fixable |
|---|---|---|
missing-package-manifest |
warning | unsafe |
unmatched-workspace-patterns |
warning | unsafe |
Fixable is safe (applied by --fix), unsafe (applied only by --fix-unsafe), sometimes (fixable for some findings) or none. See the CLI reference.
missing-package-manifest
Section titled “missing-package-manifest”A directory matched by the workspace patterns has no package.json.
- Default severity: warning
- Fixable: unsafe
- sherif name:
packages-without-package-json
[rules]missing-package-manifest = "warn"unmatched-workspace-patterns
Section titled “unmatched-workspace-patterns”A workspace pattern does not match any directory.
- Default severity: warning
- Fixable: unsafe
- sherif name:
non-existant-packages
[rules]unmatched-workspace-patterns = "warn"