blockwatch 0.3.9

Language agnostic linter that keeps your code and documentation in sync and valid
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
allowed_colors = [
    # <block check-lua="tests/testdata/check_lua_affects.lua" affects=":allowed-colors-docs">
    'blue',
    'green',
    'red',
    # </block>
]

# This documentation block has drifted out of sync with `allowed_colors` above.
docs = [
    # <block name="allowed-colors-docs">
    'blue',
    'green',
    'purple',
    # </block>
]