version: v2
modules:
  - path: meshtastic
    name: buf.build/meshtastic/protobufs
    excludes:
      - meshtastic/device_only/
    lint:
      use:
        - MINIMAL
      except:
        - PACKAGE_NO_IMPORT_CYCLE
      disallow_comment_ignores: true
    breaking:
      use:
        - FILE
      except:
        - EXTENSION_NO_DELETE
        - FIELD_SAME_DEFAULT

