dts-linter 0.3.0-beta1 → 0.3.0-beta3
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 +17 -17
- package/dist/dts-linter.js +59 -59
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -35,22 +35,22 @@ dts-linter --formatFixAll
|
|
|
35
35
|
|
|
36
36
|
### Command Line Options
|
|
37
37
|
|
|
38
|
-
| Option | Type | Default | Description
|
|
39
|
-
| ----------------------- | --------------- | --------------- |
|
|
40
|
-
| `--file` | string | Auto-discover | List of input files (can be repeated)
|
|
41
|
-
| `--cwd` | string | `process.cwd()` | Set the current working directory
|
|
42
|
-
| `--include` | string | `[]` | Paths to resolve includes (absolute or relative to CWD, can be repeated)
|
|
43
|
-
| `--binding` | string | `[]` | Zephyr binding root directories (absolute or relative to CWD, can be repeated)
|
|
44
|
-
| `--logLevel` | `none\|verbose` | `none` | Set the logging verbosity
|
|
45
|
-
| `--format` | boolean | `false` | Format the specified files (automatically set to true when formatFixAll)
|
|
46
|
-
| `--formatFixAll` | boolean | `false` | Apply formatting changes directly to files
|
|
47
|
-
| `--processIncludes` | boolean | `false` | Process includes for formatting or diagnostics (automatically set to true when diagnosticsFull)
|
|
48
|
-
| `--diagnostics` | boolean | `false` | Show basic syntax diagnostics
|
|
49
|
-
| `--diagnosticsFull` | boolean | `false` | Show full diagnostics including semantic analysis (requires --include, --binding for proper usage)
|
|
50
|
-
| `--showInfoDiagnostics` | boolean | `false` | Show information-level diagnostics
|
|
51
|
-
| `--patchFile` | string | - | Write formatting diff output to file
|
|
52
|
-
| `--outputType` | string | `auto` | Output format type: auto, pretty, annotations, or json
|
|
53
|
-
| `--help` | boolean | `false` | Show help information
|
|
38
|
+
| Option | Type | Default | Description |
|
|
39
|
+
| ----------------------- | --------------- | --------------- | -------------------------------------------------------------------------------------------------- |
|
|
40
|
+
| `--file` | string | Auto-discover | List of input files (can be repeated) |
|
|
41
|
+
| `--cwd` | string | `process.cwd()` | Set the current working directory |
|
|
42
|
+
| `--include` | string | `[]` | Paths to resolve includes (absolute or relative to CWD, can be repeated) |
|
|
43
|
+
| `--binding` | string | `[]` | Zephyr binding root directories (absolute or relative to CWD, can be repeated) |
|
|
44
|
+
| `--logLevel` | `none\|verbose` | `none` | Set the logging verbosity |
|
|
45
|
+
| `--format` | boolean | `false` | Format the specified files (automatically set to true when formatFixAll) |
|
|
46
|
+
| `--formatFixAll` | boolean | `false` | Apply formatting changes directly to files |
|
|
47
|
+
| `--processIncludes` | boolean | `false` | Process includes for formatting or diagnostics (automatically set to true when diagnosticsFull) |
|
|
48
|
+
| `--diagnostics` | boolean | `false` | Show basic syntax diagnostics |
|
|
49
|
+
| `--diagnosticsFull` | boolean | `false` | Show full diagnostics including semantic analysis (requires --include, --binding for proper usage) |
|
|
50
|
+
| `--showInfoDiagnostics` | boolean | `false` | Show information-level diagnostics |
|
|
51
|
+
| `--patchFile` | string | - | Write formatting diff output to file |
|
|
52
|
+
| `--outputType` | string | `auto` | Output format type: auto, pretty, annotations, or json |
|
|
53
|
+
| `--help` | boolean | `false` | Show help information |
|
|
54
54
|
|
|
55
55
|
### Examples
|
|
56
56
|
|
|
@@ -101,7 +101,7 @@ When running in CI environments (GitHub Actions, GitLab CI, etc.), the tool auto
|
|
|
101
101
|
|
|
102
102
|
### JSON
|
|
103
103
|
|
|
104
|
-
Returns a JSON object of type
|
|
104
|
+
Returns a JSON object of type
|
|
105
105
|
|
|
106
106
|
```typescript
|
|
107
107
|
{
|