@diffpal/lintpal-darwin-arm64 0.5.1 → 0.5.3

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.
Files changed (3) hide show
  1. package/README.md +18 -13
  2. package/bin/lintpal +0 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -12,7 +12,7 @@ repository. It produces findings on changed lines, applies a deterministic
12
12
  severity gate, and can publish the result directly to GitHub. Use it for
13
13
  specific requirements your team wants enforced on every change.
14
14
 
15
- [Quickstart](docs/getting-started.md) ·
15
+ [Quickstart](docs/guides/getting-started.md) ·
16
16
  [Documentation](docs/index.md) ·
17
17
  [Rule packs](https://github.com/diffpal/lintpal-rules) ·
18
18
  [Demo](https://github.com/diffpal/lintpal-demo/pull/3)
@@ -127,16 +127,21 @@ npx lintpal rule validate
127
127
  npx lintpal rule import github:diffpal/lintpal-rules//go@v1.1.0
128
128
  ```
129
129
 
130
- Read [rule authoring](docs/rule-authoring.md) for the complete format and
131
- [rule import](docs/rule-import.md) for local and pinned GitHub sources.
130
+ Read [rule authoring](docs/rules/authoring.md) for the complete format and
131
+ [rule import](docs/rules/import.md) for local and pinned GitHub sources.
132
132
 
133
133
  ## Run Locally
134
134
 
135
- Both revisions must be committed and available in the local Git repository:
135
+ Check uncommitted changes in your working tree before committing, or compare two committed revisions:
136
136
 
137
137
  ```bash
138
138
  export TYPESAFE_API_KEY='your-provider-key'
139
139
  npx lintpal doctor
140
+
141
+ # Lint uncommitted working-tree changes (staged, unstaged, and untracked regular files)
142
+ npx lintpal lint --uncommitted
143
+
144
+ # Or lint committed revisions
140
145
  npx lintpal lint --base origin/main --head HEAD
141
146
  ```
142
147
 
@@ -146,20 +151,20 @@ code `10` when a high or critical finding blocks the run.
146
151
 
147
152
  The default provider is Jev. LintPal also supports OpenRouter and a trusted
148
153
  custom endpoint. Provider credentials stay in environment variables; the
149
- selected provider receives bounded committed source context and rule text.
150
- See [configuration](docs/configuration.md) and [privacy](docs/privacy.md).
154
+ selected provider receives bounded source context and rule text.
155
+ See [configuration](docs/guides/configuration.md) and [privacy](docs/architecture/privacy.md).
151
156
 
152
157
  ## Documentation by Goal
153
158
 
154
159
  | Goal | Start here |
155
160
  | --- | --- |
156
- | Run the first check | [Getting started](docs/getting-started.md) |
157
- | Configure providers and policy | [Configuration](docs/configuration.md) |
158
- | Write project rules | [Rule authoring](docs/rule-authoring.md) |
159
- | Import reusable rule packs | [Rule import](docs/rule-import.md) |
160
- | Understand findings and gates | [Report reference](docs/report.md) |
161
- | Automate the CLI | [CLI reference](docs/cli.md) |
162
- | Review security and data flow | [Privacy](docs/privacy.md) and [architecture](docs/architecture.md) |
161
+ | Run the first check | [Getting started](docs/guides/getting-started.md) |
162
+ | Configure providers and policy | [Configuration](docs/guides/configuration.md) |
163
+ | Write project rules | [Rule authoring](docs/rules/authoring.md) |
164
+ | Import reusable rule packs | [Rule import](docs/rules/import.md) |
165
+ | Understand findings and gates | [Report reference](docs/reference/report.md) |
166
+ | Automate the CLI | [CLI reference](docs/reference/cli.md) |
167
+ | Review security and data flow | [Privacy](docs/architecture/privacy.md) and [architecture](docs/architecture/overview.md) |
163
168
  | Contribute to LintPal | [Contributing](CONTRIBUTING.md) |
164
169
 
165
170
  ## License
package/bin/lintpal CHANGED
Binary file
package/package.json CHANGED
@@ -17,5 +17,5 @@
17
17
  "type": "git",
18
18
  "url": "git+https://github.com/diffpal/lintpal.git"
19
19
  },
20
- "version": "0.5.1"
20
+ "version": "0.5.3"
21
21
  }