tally-cli 0.18.7 → 0.20.0
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 +9 -5
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -22,7 +22,8 @@ Modern Dockerfiles deserve modern tooling. tally is opinionated in the right pla
|
|
|
22
22
|
- **BuildKit-native**: understands modern syntax like heredocs, `RUN --mount=...`, `COPY --link`, and `ADD --checksum=...`.
|
|
23
23
|
- **Fixes, not just findings**: `--fix` applies safe, mechanical rewrites; `--fix-unsafe` unlocks opt-in risky fixes (including AI).
|
|
24
24
|
- **Modernizes on purpose**: converts eligible `RUN`/`COPY` instructions to heredocs, prefers `ADD --extract`, and more.
|
|
25
|
-
- **Broad rule coverage**: combines Docker's official BuildKit checks, embedded ShellCheck for shell snippets, Hadolint-compatible rules, and
|
|
25
|
+
- **Broad rule coverage**: combines Docker's official BuildKit checks, embedded ShellCheck for shell snippets, Hadolint-compatible rules, and
|
|
26
|
+
tally-specific rules.
|
|
26
27
|
- **Registry-aware without Docker**: uses a Podman-compatible registry client for image metadata checks (no daemon required).
|
|
27
28
|
- **Editor + CI friendly**: VS Code extension (`wharflab.tally`, powered by `tally lsp`) and outputs for JSON, SARIF, and GitHub Actions annotations.
|
|
28
29
|
- **Easy to install anywhere**: Homebrew, Go, npm, pip, and RubyGems.
|
|
@@ -59,7 +60,7 @@ tally integrates rules from multiple sources:
|
|
|
59
60
|
| Source | Rules | Description |
|
|
60
61
|
|--------|-------|-------------|
|
|
61
62
|
| **[BuildKit](https://docs.docker.com/reference/build-checks/)** | 22/22 rules | Docker's official Dockerfile checks (captured + reimplemented) |
|
|
62
|
-
| **tally** |
|
|
63
|
+
| **tally** | 25 rules | Custom rules including secret detection with [gitleaks](https://github.com/gitleaks/gitleaks) |
|
|
63
64
|
| **[Hadolint](https://github.com/hadolint/hadolint)** | 37 rules | Hadolint-compatible Dockerfile rules (expanding) |
|
|
64
65
|
<!-- END RULES_TABLE -->
|
|
65
66
|
|
|
@@ -373,15 +374,18 @@ Available levels (from most to least severe): `error`, `warning`, `info`, `style
|
|
|
373
374
|
|
|
374
375
|
### VS Code
|
|
375
376
|
|
|
376
|
-
Install the official **[tally extension](https://marketplace.visualstudio.com/items?itemName=wharflab.tally)** from the Visual Studio Marketplace for
|
|
377
|
+
Install the official **[tally extension](https://marketplace.visualstudio.com/items?itemName=wharflab.tally)** from the Visual Studio Marketplace for
|
|
378
|
+
real-time linting and diagnostics.
|
|
377
379
|
|
|
378
380
|
### JetBrains IDEs
|
|
379
381
|
|
|
380
|
-
Install the official **[Tally plugin](https://plugins.jetbrains.com/plugin/30255-tally)** from JetBrains Marketplace for IDE integration in
|
|
382
|
+
Install the official **[Tally plugin](https://plugins.jetbrains.com/plugin/30255-tally)** from JetBrains Marketplace for IDE integration in
|
|
383
|
+
IntelliJ-based editors.
|
|
381
384
|
|
|
382
385
|
### Other Editors
|
|
383
386
|
|
|
384
|
-
Any editor that supports the [Language Server Protocol](https://microsoft.github.io/language-server-protocol/) can use tally's built-in LSP server
|
|
387
|
+
Any editor that supports the [Language Server Protocol](https://microsoft.github.io/language-server-protocol/) can use tally's built-in LSP server
|
|
388
|
+
over stdio:
|
|
385
389
|
|
|
386
390
|
```bash
|
|
387
391
|
npx -y tally-cli lsp --stdio
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tally-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "A fast, configurable linter for Dockerfiles and Containerfiles",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"node": ">=18.0.0"
|
|
32
32
|
},
|
|
33
33
|
"optionalDependencies": {
|
|
34
|
-
"@wharflab/tally-darwin-arm64": "0.
|
|
35
|
-
"@wharflab/tally-darwin-x64": "0.
|
|
36
|
-
"@wharflab/tally-linux-arm64": "0.
|
|
37
|
-
"@wharflab/tally-linux-x64": "0.
|
|
38
|
-
"@wharflab/tally-windows-arm64": "0.
|
|
39
|
-
"@wharflab/tally-windows-x64": "0.
|
|
40
|
-
"@wharflab/tally-freebsd-x64": "0.
|
|
34
|
+
"@wharflab/tally-darwin-arm64": "0.20.0",
|
|
35
|
+
"@wharflab/tally-darwin-x64": "0.20.0",
|
|
36
|
+
"@wharflab/tally-linux-arm64": "0.20.0",
|
|
37
|
+
"@wharflab/tally-linux-x64": "0.20.0",
|
|
38
|
+
"@wharflab/tally-windows-arm64": "0.20.0",
|
|
39
|
+
"@wharflab/tally-windows-x64": "0.20.0",
|
|
40
|
+
"@wharflab/tally-freebsd-x64": "0.20.0"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|