daml
daml copied to clipboard
CiEnforced Vale checks not picking up every occurance
CiEnforced.Terms has a rule enforcing API is capatilized:
...
swap:
'api': API
...
It picked up an occurance of "ledger-api" in daml-sandbox.rst
For example, to change the sandbox's ledger-api port, the normal command would be
Which was fixed in 7be16a9e3075bfff02fd813641b74c85831584f3. However, in the same file, a bit higher, there is
* Set the value of a specific key with ``-C key=value``. For example, to
override the ledger-api port of the sandbox participant, the command would be:
Which is not picked up by vale. By some trial and error, the smallest example that I could find was
* ``-x``
api
where "x" can be any(?) nonempty string.