From a8a4b54b90e6433cf4a25a88a4765243f831ebef Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 9 Aug 2026 11:20:24 +0900 Subject: refactor(seld-json-lint): extract seld/json_lint into the shirabe-seld-json-lint crate Move `Seld\JsonLint` out of shirabe-external-packages and into its own crate, so the path is `shirabe_seld_json_lint::ParsingException` instead of `shirabe_external_packages::seld::json_lint::ParsingException`. Co-Authored-By: Claude Opus 5 (1M context) --- crates/shirabe-external-packages/src/seld/json_lint.rs | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 crates/shirabe-external-packages/src/seld/json_lint.rs (limited to 'crates/shirabe-external-packages/src/seld/json_lint.rs') diff --git a/crates/shirabe-external-packages/src/seld/json_lint.rs b/crates/shirabe-external-packages/src/seld/json_lint.rs deleted file mode 100644 index 2165c8f2..00000000 --- a/crates/shirabe-external-packages/src/seld/json_lint.rs +++ /dev/null @@ -1,15 +0,0 @@ -//! Partial port of seld/jsonlint. -//! -//! The parser, lexer, and duplicate-key exception (`JsonParser`, `Lexer`, -//! `DuplicateKeyException`) are intentionally not ported: JSON syntax validation now relies on -//! serde_json, and duplicate-key detection is done with a hand-written serde visitor, so -//! jsonlint's own parsing machinery is no longer needed. -//! -//! `ParsingException` is kept because it is the exception type thrown for invalid JSON and is -//! matched (via downcast) across the codebase as an error-kind signal; it also carries detail -//! such as the error line. Porting it keeps both the thrown exception class and the information -//! it carries unchanged. - -pub mod parsing_exception; - -pub use parsing_exception::*; -- cgit v1.3.1-4-g156e