Every tracked file that can carry a comment (880 of them) now opens with "Author: Guoliang Chen, a Senior Digital Design Engineer" and closes with "Author: Guoliang Chen. Lucisv is made by Guoliang Chen with love, luciochen.com", in the file's own comment syntax. No behaviour change: the diff outside the version bump and changelogs is comment lines only. - tools/stamp_author.py: writes the lines; idempotent, `--check` lists what is missing. Headers go under a shebang and under Markdown front matter. - Left alone: test fixtures, cases and snapshots (byte-exact inputs), JSON and JSONL, logs, images, lockfiles, docs/site/dist (regenerated) and the LICENSE files (already carry the copyright line). - tools/linux_check.sh: --help reads its header from line 3, now that the author line sits under the shebang. - tools/gates.sh green on this tree: 5 545 tests, corpus 814/6 as before. Co-Authored-By: Claude Mythos 5.2 <[email protected]>
21 lines
773 B
Rust
21 lines
773 B
Rust
// Author: Guoliang Chen, a Senior Digital Design Engineer
|
|
|
|
//! Prints the `lucisv.lint.severity.*` and `lucisv.lint.rules.*` settings for
|
|
//! `editors/vscode/package.json`, generated from the rule registry.
|
|
//!
|
|
//! ```text
|
|
//! cargo run -p vlog_linter --example vscode_lint_settings
|
|
//! ```
|
|
//!
|
|
//! Paste the body of the printed object into that file's
|
|
//! `contributes.configuration.properties`, replacing the block that is there.
|
|
//! The drift test in `lucisv_server` (`settings::tests::
|
|
//! the_vscode_lint_toggles_match_the_registry`) fails whenever the two
|
|
//! disagree, so a rule cannot ship without its toggle.
|
|
|
|
fn main() {
|
|
print!("{}", vlog_linter::vscode_lint_settings());
|
|
}
|
|
|
|
// Author: Guoliang Chen. Lucisv is made by Guoliang Chen with love, luciochen.com
|