datacontract-cli
datacontract-cli copied to clipboard
enhancement: datacontract lint => semantic linting
Problem: duplicate entries in a datacontract are currently not being discovered by 'datacontract lint' .... as far as I can see. I mean things like duplicate schema names, duplicate property names within a schema, etc
Idea: the linting adds functionality to discover duplicates, potentially via an additional flag as "opt-in"
Sounds good. I don't think we need an opt-in for this, should be fine as default behavior.
PR https://github.com/datacontract/datacontract-cli/pull/1779 opened to add it to 'datacontract lint' behaviour by default. If duplicates are discovered 'datacontract lint' will fail and log why.