v1.13.0
Changes
- Fix quiet diagnostic level comparisons
- Add --quiet-warnings and --quiet-info flags to the CLI
- Ensure every lint diagnostic has a severity level
- Add
initsubcommand to PapyrusLinterCLI to create a default papyrus-lint.yaml - Bump AST cache compatibility version to 1.13.0
- Add lint pair for total named state count and multiple Auto states
- Add auto-fix for ScriptName type casing and integrate into repair pipeline
- Add automatic repair for identifier casing and integrate into repair pipeline
- Add State function signature mismatch lint
- Add GoToState state reference lint
- Publish JSON Schema for CLI --json report
- Test slow-function qualifier handling and make rules table injectable
- Track a function's declaring State through the parser and function table
- Add CLI project-root unit tests
Coverage by module
| Module | Coverage | Lines covered |
|---|---|---|
| Crates (papyrus-parser, papyrus-lints, papyrus-lint-core, papyrus-lint-cli) | 96.1% | 12793/13314 |
| App (src-tauri) | 96.5% | 836/866 |
| UI (frontend) | 96.5% | 754/781 |
| Editor plugins | 100.0% | 92/92 |
Crates (papyrus-parser, papyrus-lints, papyrus-lint-core, papyrus-lint-cli)
| Component | Coverage | Lines covered |
|---|---|---|
| papyrus-parser | 97.1% | 1677/1727 |
| papyrus-lints | 95.3% | 8280/8687 |
| papyrus-lint-core | 97.7% | 1802/1844 |
| papyrus-lint-cli | 97.9% | 1034/1056 |
Editor plugins
| Component | Coverage | Lines covered |
|---|---|---|
| vscode-extension | 100.0% | 21/21 |
| SublimeLinter-contrib-papyrus-lint | 100.0% | 71/71 |
Line coverage, aggregated from each job's lcov report. Missing reports mean that job didn't run or didn't upload one.
Full Changelog: v1.12.0...v1.13.0