blockwatch-cli 0.16.8__tar.gz → 0.18.0__tar.gz
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.
- blockwatch_cli-0.18.0/.github/FUNDING.yml +15 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/CHANGELOG.md +51 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/Cargo.lock +89 -12
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/Cargo.toml +2 -2
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/PKG-INFO +1 -1
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/README.md +53 -39
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/docs/ci.md +2 -2
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/docs/cli.md +3 -3
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/docs/symbols.md +154 -10
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/setup.py +1 -1
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/bash.rs +39 -17
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/c.rs +115 -36
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/c_sharp.rs +44 -32
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/cmake.rs +10 -11
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/cpp.rs +30 -2
- blockwatch_cli-0.18.0/src/language_parsers/css.rs +950 -0
- blockwatch_cli-0.18.0/src/language_parsers/dart.rs +1216 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/dockerfile.rs +7 -1
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/elixir.rs +7 -1
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/go.rs +19 -2
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/graphql.rs +7 -1
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/groovy.rs +17 -4
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/hcl.rs +25 -2
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/java.rs +25 -32
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/javascript.rs +13 -1
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/json.rs +27 -2
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/kotlin.rs +21 -6
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/lean.rs +82 -58
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/lua.rs +23 -18
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/makefile.rs +14 -4
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/markdown.rs +53 -24
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/mdx.rs +40 -17
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/mod.rs +123 -216
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/nix.rs +8 -3
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/ocaml.rs +10 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/php.rs +106 -76
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/proto.rs +55 -30
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/python.rs +16 -1
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/ruby.rs +13 -8
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/rust.rs +12 -23
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/scala.rs +29 -9
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/sql.rs +9 -3
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/starlark.rs +7 -1
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/swift.rs +31 -20
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/toml.rs +28 -16
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/tsx.rs +13 -1
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/typescript.rs +89 -56
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/xml.rs +43 -32
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/yaml.rs +45 -29
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/skill.md +46 -14
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/symbol_path.rs +1 -3
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/symbols/code.rs +48 -13
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/symbols/mod.rs +10 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/target_reference.rs +18 -18
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/symbol_references.rs +14 -0
- blockwatch_cli-0.18.0/tests/testdata/symbol_references/css_source.rs +3 -0
- blockwatch_cli-0.18.0/tests/testdata/symbol_references/css_target.css +3 -0
- blockwatch_cli-0.18.0/tests/testdata/symbol_references/dart_source.rs +3 -0
- blockwatch_cli-0.18.0/tests/testdata/symbol_references/dart_target.dart +3 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/escapes_source.rs +2 -2
- blockwatch_cli-0.16.8/src/language_parsers/css.rs +0 -86
- blockwatch_cli-0.16.8/src/language_parsers/dart.rs +0 -79
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/.agents/.claude-plugin/plugin.json +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/.agents/skills/blockwatch/SKILL.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/.claude-plugin/marketplace.json +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/.github/dependabot.yml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/.github/workflows/blockwatch.yml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/.github/workflows/codeql.yml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/.github/workflows/markdownlint.yml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/.github/workflows/pypi.yml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/.github/workflows/release.yml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/.github/workflows/rust.yml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/.github/workflows/trusted-checks.yml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/.gitignore +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/.markdownlint-cli2.yaml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/.pre-commit-config.yaml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/.pre-commit-hooks.yaml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/AGENTS.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/CLAUDE.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/LICENSE +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/SECURITY.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/blockwatch.toml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/clippy.toml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/codecov.yml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/demo.gif +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/dist-workspace.toml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/docs/agents.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/docs/validators/README.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/docs/validators/affects.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/docs/validators/check-ai.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/docs/validators/check-lua.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/docs/validators/keep-sorted.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/docs/validators/keep-unique.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/docs/validators/line-count.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/docs/validators/line-pattern.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/docs/validators/same-as.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/pypi/pyproject.toml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/pyproject.toml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/release.toml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/scripts/check_language_count.lua +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/scripts/check_latest_gpt_nano_model.lua +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/block_parser.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/blocks.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/cli.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/config.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/diff_parser.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/explain.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/flags.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/fs.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/language_parsers/html.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/lib.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/main.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/path_arguments.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/paths_glob.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/repo_path.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/report.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/sarif.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/scan.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/settings.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/tag_parser.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/validators/affects.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/validators/check_ai.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/validators/check_lua.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/validators/keep_sorted.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/validators/keep_unique.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/validators/line_count.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/validators/line_pattern.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/validators/mod.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/validators/same_as.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/violation_address.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/src/virtual_blocks.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/affects.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/check_ai.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/check_lua.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/common/empty.toml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/common/mod.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/config.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/encoding.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/explain.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/general.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/keep_sorted.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/keep_unique.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/line_count.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/line_pattern.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/list.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/path_arguments.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/repository_root.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/same_as.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/sarif.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/skill.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/suppressions.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/cross_file_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/cross_file_target.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/custom_ext_source.javascript +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/custom_ext_target.javascript +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/dangling.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/missing_symbol.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/more_added_than_deleted.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/multiline_tag_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/multiline_tag_target.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/nested_mapping_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/nested_mapping_target.yaml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/sibling.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/symbol_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/symbol_target.json +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/table_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/table_target.toml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/tag_and_content_source.ts +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/tag_and_content_target.ts +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/whole_file_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/affects/whole_file_target.json +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_ai/two_blocks.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/affects.lua +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/affects.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/affects_drift.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/blocking_io.lua +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/blocking_io.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/echo.lua +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/fail.lua +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/mode.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/os.lua +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/pathfmt/report_path.lua +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/pathfmt/source.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/pattern.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/pattern_many_matches.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/pattern_no_match.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/success.lua +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/check_lua/success_and_failure.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/config/glob_target/config.toml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/config/glob_target/package.json +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/config/glob_target/plugins/blue/package.json +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/config/glob_target/plugins/green/package.json +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/config/glob_target/plugins/red/package.json +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/explain/a.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/explain/check.lua +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/general/block_selection.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/general/custom_file_extension.javascript +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/general/custom_file_extension.python +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/general/disable_enable.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/general/paths/invalid.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/general/paths/subdir/nested_invalid.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/general/paths/valid.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/general/severity.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/hidden/.github/workflows/ci.yml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/keep_sorted/orderings.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/keep_unique/basic_and_pattern.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/line_count/equality_and_greater_than.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/line_pattern/forbidden_text.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/line_pattern/hex_and_word_patterns.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/list/.hg/.gitkeep +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/list/a.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/list/b.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/positions/unicode_columns.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/custom_ext_source.javascript +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/custom_ext_target.javascript +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/package.json +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/paths/alpha/item.txt +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/paths/beta/item.txt +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/paths_and_block_source.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/paths_source.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/sibling.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/split_table_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/split_table_target.toml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/symbol_mismatch_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/symbol_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/target.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/whole_file_mismatch_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/whole_file_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/same_as/whole_file_target.json +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/sarif/advisory.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/sarif/clean.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/sarif/sorted.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/sarif/unnamed.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/suppressions/commit_msg.txt +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/suppressions/commit_msg_gone_a.txt +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/suppressions/commit_msg_gone_b.txt +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/suppressions/commit_msg_lowercase_trailer.txt +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/suppressions/commit_msg_malformed.txt +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/suppressions/commit_msg_with_noise.txt +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/suppressions/dangling.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/suppressions/sorted.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/suppressions/symbol.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/suppressions/symbol_target.json +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/suppressions/two_rules.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/suppressions/unnamed.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/Makefile +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/bzl_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/bzl_target.bzl +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/c_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/c_target.c +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/cpp_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/cpp_target.cpp +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/cs_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/cs_target.cs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/csproj_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/csproj_target.csproj +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/escapes_target.json +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/filter_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/filter_target.yaml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/go_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/go_target.go +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/h_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/h_target.h +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/hcl_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/hcl_target.hcl +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/java_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/java_target.java +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/js_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/js_target.js +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/json_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/json_target.json +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/jsonc_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/jsonc_target.jsonc +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/kt_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/kt_target.kt +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/kts_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/kts_target.kts +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/makefile_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/markdown_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/markdown_target.markdown +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/md_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/md_target.md +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/mdx_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/mdx_target.mdx +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/mixed_list_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/mixed_list_target.json +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/nomad_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/nomad_target.nomad +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/php_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/php_target.php +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/phtml_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/phtml_target.phtml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/proto_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/proto_target.proto +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/py_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/py_target.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/rs_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/rs_target.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/sh_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/sh_target.sh +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/swift_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/swift_target.swift +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/tf_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/tf_target.tf +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/tfvars_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/tfvars_target.tfvars +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/tofu_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/tofu_target.tofu +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/toml_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/toml_target.toml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/ts_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/ts_target.ts +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/tsx_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/tsx_target.tsx +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/xml_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/xml_target.xml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/yaml_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/yaml_target.yaml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/yml_source.rs +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/symbol_references/yml_target.yml +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/verbosity/affects/pair.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/verbosity/clean/counted.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/verbosity/clean/noop.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/verbosity/clean/notes.txt +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/verbosity/clean/sorted.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/verbosity/diff/two_blocks.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/verbosity/failing/unsorted.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/testdata/verbosity/mixed/both_kinds.py +0 -0
- {blockwatch_cli-0.16.8 → blockwatch_cli-0.18.0}/tests/verbosity.rs +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# These are supported funding model platforms
|
|
2
|
+
|
|
3
|
+
github: mennanov # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
|
4
|
+
patreon: # Replace with a single Patreon username
|
|
5
|
+
open_collective: # Replace with a single Open Collective username
|
|
6
|
+
ko_fi: # Replace with a single Ko-fi username
|
|
7
|
+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
|
8
|
+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
|
9
|
+
liberapay: # Replace with a single Liberapay username
|
|
10
|
+
issuehunt: # Replace with a single IssueHunt username
|
|
11
|
+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
|
|
12
|
+
polar: # Replace with a single Polar username
|
|
13
|
+
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
|
|
14
|
+
thanks_dev: # Replace with a single thanks.dev username
|
|
15
|
+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
|
@@ -12,6 +12,57 @@ Releases up to and including v0.3.11 predate this file. Their notes live on the
|
|
|
12
12
|
|
|
13
13
|
## [Unreleased] - ReleaseDate
|
|
14
14
|
|
|
15
|
+
## [0.18.0] - 2026-11-07
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- Symbols in CSS files (`.css`). `theme.css#/:root/--brand` points at the value of `--brand` in the `:root` rule, and
|
|
20
|
+
`#/@media (max-width: 768px)/.card/padding` at a declaration in a rule inside `@media`. Each rule, each at-rule with
|
|
21
|
+
a block and each declaration is a symbol. A value loses `!important` and the comments around it, and a value that is
|
|
22
|
+
one string is decoded. See [CSS](docs/symbols.md#css).
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- A symbol path can hold a `:`, such as `#/manifest/application/@android:name` or `#/ns::helper`. Before, a reference
|
|
27
|
+
couldn't hold both `#` and `:`, so each `:` had to be written `%3A`. `%3A` still works. Messages now show a `:` as
|
|
28
|
+
written.
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
|
|
32
|
+
- In CSS files, `/*` inside an unquoted `url(...)` no longer starts a comment. Browsers read it as part of the URL. A
|
|
33
|
+
comment left open at the end of a CSS file is now read as a comment, as CSS says, so a tag in it counts.
|
|
34
|
+
|
|
35
|
+
## [0.17.0] - 2026-11-06
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
|
|
39
|
+
- Symbols in Dart files (`.dart`). `config.dart#/Invoice/maxLines` points at a field of the class `Invoice`, and
|
|
40
|
+
`#/kApiVersion` at a variable at the top of the file. Each type is a symbol, and so is each field, method, getter,
|
|
41
|
+
setter, named constructor and enum value in it. A named extension's members sit under its name. See
|
|
42
|
+
[Dart](docs/symbols.md#dart).
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
|
|
46
|
+
- In a tag that wraps over several comment lines, a longer marker such as `##`, `////` or `---` is now blanked whole,
|
|
47
|
+
in every language with `#`, `//` or `--` comments. So an attribute value that goes on to such a line loses the extra
|
|
48
|
+
characters. For example, in Python, a value that goes on to the line `##a` now holds `a` there, not `#a`. The same
|
|
49
|
+
goes for the stars at the start of a line in a `/* */` comment, such as ` ** `.
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
|
|
53
|
+
- A tag that wraps over several comment lines is no longer reported as malformed when each line starts with a longer
|
|
54
|
+
marker, such as `///`, `////`, `//!`, `##`, `---` or Python's `#:`. This works in every language with `//`, `#` or
|
|
55
|
+
`--` comments. In C and C++, it also works with Doxygen's `///<` and `//!<`. In Markdown, a tag can now wrap over
|
|
56
|
+
several `[//]: # (...)` lines too. In a `/* */` or OCaml `(* *)` comment, it can wrap over lines that start with
|
|
57
|
+
` ** `.
|
|
58
|
+
- In Bash and zsh files, a comment that starts with `#!` is no longer skipped, unless it is the shebang on the first
|
|
59
|
+
line. Before, a tag in such a comment was ignored.
|
|
60
|
+
- A string value with one of these line ends now reads as its language reads it:
|
|
61
|
+
- In JavaScript and TypeScript, a backslash before U+2028 or U+2029 joins the two lines. Before, the value kept the
|
|
62
|
+
separator.
|
|
63
|
+
- In a JavaScript or TypeScript template, a lone `\r` line end is `\n`. Before, the value kept the `\r`.
|
|
64
|
+
- In a C++ raw string, a `\r\n` line end is `\n`. Before, the value kept the `\r`.
|
|
65
|
+
|
|
15
66
|
## [0.16.8] - 2026-11-05
|
|
16
67
|
|
|
17
68
|
### Added
|
|
@@ -274,7 +274,7 @@ checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
|
274
274
|
|
|
275
275
|
[[package]]
|
|
276
276
|
name = "blockwatch"
|
|
277
|
-
version = "0.
|
|
277
|
+
version = "0.18.0"
|
|
278
278
|
dependencies = [
|
|
279
279
|
"anyhow",
|
|
280
280
|
"assert-json-diff",
|
|
@@ -284,6 +284,7 @@ dependencies = [
|
|
|
284
284
|
"axum",
|
|
285
285
|
"bigdecimal",
|
|
286
286
|
"clap",
|
|
287
|
+
"cssparser",
|
|
287
288
|
"fnv",
|
|
288
289
|
"globset",
|
|
289
290
|
"heck",
|
|
@@ -314,7 +315,6 @@ dependencies = [
|
|
|
314
315
|
"tree-sitter-cmake",
|
|
315
316
|
"tree-sitter-containerfile",
|
|
316
317
|
"tree-sitter-cpp",
|
|
317
|
-
"tree-sitter-css",
|
|
318
318
|
"tree-sitter-dart",
|
|
319
319
|
"tree-sitter-elixir",
|
|
320
320
|
"tree-sitter-go",
|
|
@@ -531,6 +531,29 @@ version = "0.8.23"
|
|
|
531
531
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
532
532
|
checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
|
|
533
533
|
|
|
534
|
+
[[package]]
|
|
535
|
+
name = "cssparser"
|
|
536
|
+
version = "0.38.0"
|
|
537
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
538
|
+
checksum = "11119743ad110e8c1bdccd930d7f5c30c99e5fc76a7b63ec9807e84eef0c5f59"
|
|
539
|
+
dependencies = [
|
|
540
|
+
"cssparser-macros",
|
|
541
|
+
"dtoa-short",
|
|
542
|
+
"itoa",
|
|
543
|
+
"phf",
|
|
544
|
+
"smallvec",
|
|
545
|
+
]
|
|
546
|
+
|
|
547
|
+
[[package]]
|
|
548
|
+
name = "cssparser-macros"
|
|
549
|
+
version = "0.7.1"
|
|
550
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
551
|
+
checksum = "d045de693cb712d0b22c6a64be5b953f67b3ce00ab5ad3dd5d8b441886ab8e1a"
|
|
552
|
+
dependencies = [
|
|
553
|
+
"quote",
|
|
554
|
+
"syn 3.0.9",
|
|
555
|
+
]
|
|
556
|
+
|
|
534
557
|
[[package]]
|
|
535
558
|
name = "darling"
|
|
536
559
|
version = "0.20.11"
|
|
@@ -614,6 +637,21 @@ dependencies = [
|
|
|
614
637
|
"syn 3.0.9",
|
|
615
638
|
]
|
|
616
639
|
|
|
640
|
+
[[package]]
|
|
641
|
+
name = "dtoa"
|
|
642
|
+
version = "1.0.11"
|
|
643
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
644
|
+
checksum = "4c3cf4824e2d5f025c7b531afcb2325364084a16806f6d47fbc1f5fbd9960590"
|
|
645
|
+
|
|
646
|
+
[[package]]
|
|
647
|
+
name = "dtoa-short"
|
|
648
|
+
version = "0.3.5"
|
|
649
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
650
|
+
checksum = "cd1511a7b6a56299bd043a9c167a6d2bfb37bf84a6dfceaba651168adfb43c87"
|
|
651
|
+
dependencies = [
|
|
652
|
+
"dtoa",
|
|
653
|
+
]
|
|
654
|
+
|
|
617
655
|
[[package]]
|
|
618
656
|
name = "dunce"
|
|
619
657
|
version = "1.0.5"
|
|
@@ -1476,6 +1514,49 @@ version = "2.3.2"
|
|
|
1476
1514
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1477
1515
|
checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
|
|
1478
1516
|
|
|
1517
|
+
[[package]]
|
|
1518
|
+
name = "phf"
|
|
1519
|
+
version = "0.14.0"
|
|
1520
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1521
|
+
checksum = "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6"
|
|
1522
|
+
dependencies = [
|
|
1523
|
+
"phf_macros",
|
|
1524
|
+
"phf_shared",
|
|
1525
|
+
"serde",
|
|
1526
|
+
]
|
|
1527
|
+
|
|
1528
|
+
[[package]]
|
|
1529
|
+
name = "phf_generator"
|
|
1530
|
+
version = "0.14.0"
|
|
1531
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1532
|
+
checksum = "aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100"
|
|
1533
|
+
dependencies = [
|
|
1534
|
+
"fastrand",
|
|
1535
|
+
"phf_shared",
|
|
1536
|
+
]
|
|
1537
|
+
|
|
1538
|
+
[[package]]
|
|
1539
|
+
name = "phf_macros"
|
|
1540
|
+
version = "0.14.0"
|
|
1541
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1542
|
+
checksum = "5fa8d0ca26d424d27630da600c6624696e7dec8bf7b3b492b383c5dc49e5e085"
|
|
1543
|
+
dependencies = [
|
|
1544
|
+
"phf_generator",
|
|
1545
|
+
"phf_shared",
|
|
1546
|
+
"proc-macro2",
|
|
1547
|
+
"quote",
|
|
1548
|
+
"syn 2.0.119",
|
|
1549
|
+
]
|
|
1550
|
+
|
|
1551
|
+
[[package]]
|
|
1552
|
+
name = "phf_shared"
|
|
1553
|
+
version = "0.14.0"
|
|
1554
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1555
|
+
checksum = "c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89"
|
|
1556
|
+
dependencies = [
|
|
1557
|
+
"siphasher",
|
|
1558
|
+
]
|
|
1559
|
+
|
|
1479
1560
|
[[package]]
|
|
1480
1561
|
name = "pin-project-lite"
|
|
1481
1562
|
version = "0.2.17"
|
|
@@ -2097,6 +2178,12 @@ dependencies = [
|
|
|
2097
2178
|
"bstr",
|
|
2098
2179
|
]
|
|
2099
2180
|
|
|
2181
|
+
[[package]]
|
|
2182
|
+
name = "siphasher"
|
|
2183
|
+
version = "1.0.4"
|
|
2184
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2185
|
+
checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256"
|
|
2186
|
+
|
|
2100
2187
|
[[package]]
|
|
2101
2188
|
name = "slab"
|
|
2102
2189
|
version = "0.4.12"
|
|
@@ -2511,16 +2598,6 @@ dependencies = [
|
|
|
2511
2598
|
"tree-sitter-language",
|
|
2512
2599
|
]
|
|
2513
2600
|
|
|
2514
|
-
[[package]]
|
|
2515
|
-
name = "tree-sitter-css"
|
|
2516
|
-
version = "0.25.0"
|
|
2517
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2518
|
-
checksum = "a5cbc5e18f29a2c6d6435891f42569525cf95435a3e01c2f1947abcde178686f"
|
|
2519
|
-
dependencies = [
|
|
2520
|
-
"cc",
|
|
2521
|
-
"tree-sitter-language",
|
|
2522
|
-
]
|
|
2523
|
-
|
|
2524
2601
|
[[package]]
|
|
2525
2602
|
name = "tree-sitter-dart"
|
|
2526
2603
|
version = "0.3.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "blockwatch"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.18.0"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
repository = "https://github.com/mennanov/blockwatch"
|
|
6
6
|
description = "Language agnostic linter that keeps your code and documentation in sync and valid"
|
|
@@ -21,6 +21,7 @@ async-openai = { version = "0.43.0", features = [
|
|
|
21
21
|
async-trait = "0.1"
|
|
22
22
|
bigdecimal = "0.4"
|
|
23
23
|
clap = { version = "4.6", features = ["cargo", "derive"] }
|
|
24
|
+
cssparser = "0.38.0"
|
|
24
25
|
fnv = "1.0"
|
|
25
26
|
globset = "0.4.18"
|
|
26
27
|
heck = "0.5"
|
|
@@ -50,7 +51,6 @@ tree-sitter-c-sharp = "0.23"
|
|
|
50
51
|
tree-sitter-cmake = "0.7.4"
|
|
51
52
|
tree-sitter-containerfile = "0.9"
|
|
52
53
|
tree-sitter-cpp = "0.23"
|
|
53
|
-
tree-sitter-css = "0.25"
|
|
54
54
|
tree-sitter-dart = "0.3"
|
|
55
55
|
tree-sitter-elixir = "0.3"
|
|
56
56
|
tree-sitter-go = "0.25"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: blockwatch-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.18.0
|
|
4
4
|
Summary: Language agnostic linter that keeps your code and documentation in sync and valid
|
|
5
5
|
Keywords: linter,sync,drift,comments,agents
|
|
6
6
|
Home-Page: https://github.com/mennanov/blockwatch
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
[//]: # (<block name="pitch">)
|
|
9
9
|
Some parts of a codebase have to change together: a function and its docs, or a value duplicated across configs.
|
|
10
|
-
blockwatch lets you write those rules in comments, right next to the code. If they fall out of
|
|
11
|
-
hook or CI run fails.
|
|
10
|
+
blockwatch lets you write those rules in comments, right next to the code, or in `blockwatch.toml`. If they fall out of
|
|
11
|
+
sync, your pre-commit hook or CI run fails.
|
|
12
12
|
|
|
13
13
|
Supports [37 languages](#supported-languages) and their common file names, such as `Gemfile` or `.mjs`.
|
|
14
14
|
|
|
@@ -42,44 +42,57 @@ future change, add blockwatch to your [pre-commit hook or CI](#ci-integration).
|
|
|
42
42
|
|
|
43
43
|
## How it works
|
|
44
44
|
|
|
45
|
-
A block is a pair of tags inside comments around some lines of code. The rules go in the start tag.
|
|
46
|
-
|
|
47
|
-
`\w+` matches each word, so commas and dashes don't count:
|
|
45
|
+
A block is a pair of tags inside comments around some lines of code. The rules go in the start tag. A file that can't
|
|
46
|
+
hold a comment, such as JSON, gets its rules from `blockwatch.toml` instead.
|
|
48
47
|
|
|
49
|
-
|
|
48
|
+
In this example, a web service listens on port 8080, and three files must agree on that number.
|
|
50
49
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
// </block>
|
|
57
|
-
}
|
|
50
|
+
**app/settings.py** holds the value. It needs no tag, because the other files point at the constant by its name,
|
|
51
|
+
`app/settings.py#/PORT`:
|
|
52
|
+
|
|
53
|
+
```python
|
|
54
|
+
PORT = 8080
|
|
58
55
|
```
|
|
59
56
|
|
|
60
|
-
**
|
|
57
|
+
**Dockerfile** wraps the line in a block. The pattern `\d+` picks `8080` out of `EXPOSE 8080`:
|
|
61
58
|
|
|
62
|
-
```
|
|
63
|
-
|
|
59
|
+
```dockerfile
|
|
60
|
+
FROM python:3.13-slim
|
|
61
|
+
# <block name="port" same-as="app/settings.py#/PORT" same-as-pattern="\d+">
|
|
62
|
+
EXPOSE 8080
|
|
63
|
+
# </block>
|
|
64
|
+
```
|
|
64
65
|
|
|
65
|
-
|
|
66
|
-
- Python
|
|
66
|
+
**deploy.json** can't hold a comment:
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
```json
|
|
69
|
+
{
|
|
70
|
+
"name": "web",
|
|
71
|
+
"port": 8080
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
So **blockwatch.toml** declares its block, around the `port` key:
|
|
76
|
+
|
|
77
|
+
```toml
|
|
78
|
+
[[block]]
|
|
79
|
+
target = 'deploy.json#/port'
|
|
80
|
+
same-as = 'app/settings.py#/PORT'
|
|
69
81
|
```
|
|
70
82
|
|
|
71
|
-
If you
|
|
72
|
-
message:
|
|
83
|
+
If you change `PORT` to `9090` and forget the other two files, `blockwatch` fails with exit code 1 and these messages:
|
|
73
84
|
|
|
74
85
|
```text
|
|
75
|
-
Block
|
|
86
|
+
Block Dockerfile:port at line 2 disagrees with app/settings.py#/PORT: ["8080"] != ["9090"]
|
|
87
|
+
Block deploy.json:(unnamed) at line 1 of "blockwatch.toml" disagrees with app/settings.py#/PORT: ["8080"] != ["9090"]
|
|
76
88
|
```
|
|
77
89
|
|
|
78
|
-
The output shows the values on each side.
|
|
90
|
+
The output shows the values on each side. Update both files, and the run passes.
|
|
79
91
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
92
|
+
A name after `#` points at a [symbol](docs/symbols.md): a constant in code, a key in JSON, TOML or YAML, a Markdown
|
|
93
|
+
section, and more. Because `same-as` compares values directly, it doesn't need a diff. Running `blockwatch` on its own
|
|
94
|
+
finds mismatches anywhere in the repository. The [other validators](#validators) make code and docs change together,
|
|
95
|
+
keep lists sorted, and more.
|
|
83
96
|
|
|
84
97
|
## Validators
|
|
85
98
|
|
|
@@ -89,10 +102,11 @@ Two validators work across files:
|
|
|
89
102
|
- `same-as` fails when a block and its target hold different values. It needs no diff.
|
|
90
103
|
|
|
91
104
|
Both can point to a block, a whole file, a specific value in a file like `package.json#/version`, a section of a
|
|
92
|
-
Markdown file, an element or attribute in an XML file such as `pom.xml` or a `.csproj`, a
|
|
93
|
-
Python, Rust, TypeScript, JavaScript, Java, C#, Kotlin, Swift
|
|
94
|
-
field in a Protocol Buffers file, or a value in a Terraform or other HCL
|
|
95
|
-
other validators check a single block on their own: the things you'd
|
|
105
|
+
Markdown file, an element or attribute in an XML file such as `pom.xml` or a `.csproj`, a declaration in a CSS file,
|
|
106
|
+
a constant in a Go, C, C++, Python, Rust, TypeScript, JavaScript, Java, C#, Kotlin, Swift, PHP or Dart file, a
|
|
107
|
+
variable in a shell script or a Makefile, a field in a Protocol Buffers file, or a value in a Terraform or other HCL
|
|
108
|
+
file (see [Symbols](docs/symbols.md)). The other validators check a single block on their own: the things you'd
|
|
109
|
+
otherwise have to nitpick in code review.
|
|
96
110
|
|
|
97
111
|
<!-- <block name="available-validators"
|
|
98
112
|
same-as="src/validators/mod.rs:validator-registry, docs/validators/README.md:validators-index"
|
|
@@ -177,7 +191,7 @@ git diff --patch HEAD | blockwatch --diff --only-changed
|
|
|
177
191
|
blockwatch list
|
|
178
192
|
|
|
179
193
|
# Show what each validator of one named block read
|
|
180
|
-
blockwatch explain
|
|
194
|
+
blockwatch explain Dockerfile:port
|
|
181
195
|
```
|
|
182
196
|
|
|
183
197
|
Rules live in comments, next to the code they describe. Settings that apply to the whole project, such as ignored
|
|
@@ -191,15 +205,15 @@ disable = ['check-ai']
|
|
|
191
205
|
ino = 'cpp'
|
|
192
206
|
```
|
|
193
207
|
|
|
194
|
-
The config file can also declare [blocks](docs/cli.md#blocks-in-the-config-file)
|
|
195
|
-
|
|
196
|
-
|
|
208
|
+
The config file can also declare [blocks](docs/cli.md#blocks-in-the-config-file), as in [How it works](#how-it-works):
|
|
209
|
+
around a symbol, around the text a regex matches, or around a whole file. That is how a file that can't hold a tag gets
|
|
210
|
+
rules, such as `package.json`, a prompt, or a module that a build copies as it is.
|
|
197
211
|
|
|
198
212
|
To keep a known violation from failing the run without editing the source, pass its `address` from the output to
|
|
199
|
-
`--suppress`. The violation is still reported. For the failure in [How it works](#how-it-works):
|
|
213
|
+
`--suppress`. The violation is still reported. For the `Dockerfile` failure in [How it works](#how-it-works):
|
|
200
214
|
|
|
201
215
|
```shell
|
|
202
|
-
blockwatch --suppress
|
|
216
|
+
blockwatch --suppress Dockerfile:port:same-as:1037fd9c
|
|
203
217
|
```
|
|
204
218
|
|
|
205
219
|
A shorter address like `src/lib.rs` covers more violations. See
|
|
@@ -220,7 +234,7 @@ exclusions, and custom extension mappings.
|
|
|
220
234
|
|
|
221
235
|
```yaml
|
|
222
236
|
- repo: https://github.com/mennanov/blockwatch
|
|
223
|
-
rev: v0.
|
|
237
|
+
rev: v0.18.0 # Use latest release
|
|
224
238
|
hooks:
|
|
225
239
|
- id: blockwatch
|
|
226
240
|
```
|
|
@@ -260,7 +274,7 @@ For plain git hooks, local pre-commit setups, and sandboxing untrusted Lua scrip
|
|
|
260
274
|
- GraphQL (`.graphql`, `.graphqls`, `.gql`)
|
|
261
275
|
- Groovy (with `.gradle` and `Jenkinsfile` support)
|
|
262
276
|
- HCL (Terraform and OpenTofu: `.tf`, `.tfvars`, `.tofu`, `.hcl`; Nomad: `.nomad`)
|
|
263
|
-
- HTML (with `.xhtml` support)
|
|
277
|
+
- HTML (with `.xhtml` support; comments inside `<script>` and `<style>` are not read)
|
|
264
278
|
- JSON (`.json`, `.jsonc`, `.webmanifest`)
|
|
265
279
|
- Java
|
|
266
280
|
- JavaScript (with `.mjs` and `.cjs` support)
|
|
@@ -272,7 +286,7 @@ For plain git hooks, local pre-commit setups, and sandboxing untrusted Lua scrip
|
|
|
272
286
|
- Markdown
|
|
273
287
|
- Nix
|
|
274
288
|
- OCaml (`.ml`, `.mli`)
|
|
275
|
-
- PHP
|
|
289
|
+
- PHP (comments inside `<script>` and `<style>` are not read)
|
|
276
290
|
- Protocol Buffers (`.proto`)
|
|
277
291
|
- Python (with `.pyi` and `.pyw` support)
|
|
278
292
|
- Ruby (with `Gemfile`, `Rakefile`, `Podfile`, `Brewfile`, `Fastfile`, `Vagrantfile`, `.gemspec`, `.podspec`, `.rake`,
|
|
@@ -19,7 +19,7 @@ To use [pre-commit](https://pre-commit.com), add the hook to `.pre-commit-config
|
|
|
19
19
|
|
|
20
20
|
```yaml
|
|
21
21
|
- repo: https://github.com/mennanov/blockwatch
|
|
22
|
-
rev: v0.
|
|
22
|
+
rev: v0.18.0 # Use latest release
|
|
23
23
|
hooks:
|
|
24
24
|
- id: blockwatch
|
|
25
25
|
```
|
|
@@ -59,7 +59,7 @@ The `blockwatch` hook runs before the commit message exists, so it cannot see a
|
|
|
59
59
|
|
|
60
60
|
```yaml
|
|
61
61
|
- repo: https://github.com/mennanov/blockwatch
|
|
62
|
-
rev: v0.
|
|
62
|
+
rev: v0.18.0 # Use latest release
|
|
63
63
|
hooks:
|
|
64
64
|
- id: blockwatch-commit-msg
|
|
65
65
|
```
|
|
@@ -557,15 +557,15 @@ Nothing else about the run changes: the same violations are found, and the exit
|
|
|
557
557
|
"tool": {
|
|
558
558
|
"driver": {
|
|
559
559
|
"name": "blockwatch",
|
|
560
|
-
"version": "0.
|
|
561
|
-
"semanticVersion": "0.
|
|
560
|
+
"version": "0.18.0",
|
|
561
|
+
"semanticVersion": "0.18.0",
|
|
562
562
|
"informationUri": "https://github.com/mennanov/blockwatch",
|
|
563
563
|
"rules": [
|
|
564
564
|
{
|
|
565
565
|
"id": "keep-sorted",
|
|
566
566
|
"name": "keep-sorted",
|
|
567
567
|
"shortDescription": { "text": "Requires the lines of a block to stay in order." },
|
|
568
|
-
"helpUri": "https://github.com/mennanov/blockwatch/blob/v0.
|
|
568
|
+
"helpUri": "https://github.com/mennanov/blockwatch/blob/v0.18.0/docs/validators/keep-sorted.md"
|
|
569
569
|
}
|
|
570
570
|
]
|
|
571
571
|
}
|