Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30129

Run YamlLint against IDL files

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: IDL
    • Backwards Compatibility:
      Fully Compatible

      Description

      In order to enforce consistency across the IDL files, YAMLLint can be used to verify column
      limits, and spacing around ":" for instance.

      Resources
      https://yamllint.readthedocs.io/en/latest/
      https://pypi.python.org/pypi/yamllint
      https://github.com/adrienverge/yamllint

      Example config file:

      extends: default
       
      rules:
        line-length:
          max: 100
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: