Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

1.4 KB
Raw Blame
version: v2
lint:
    use:
        - STANDARD
    except:
        # Relaxed naming rules for internal services
        - SERVICE_SUFFIX
        - RPC_REQUEST_RESPONSE_UNIQUE
        - RPC_RESPONSE_STANDARD_NAME
        - RPC_REQUEST_STANDARD_NAME
        # Allow non-comment documentation for now (can enable later)
        - COMMENT_FIELD
        - COMMENT_MESSAGE
        - COMMENT_RPC
        - COMMENT_SERVICE
        - COMMENT_ENUM
        - COMMENT_ENUM_VALUE
breaking:
    use:
        - FILE
    # Temporary: allows deleting a retired RPC and its messages. Safe to
    # remove once the deletion is on master, which these checks compare
    # against.
    ignore_only:
        RPC_NO_DELETE:
            - personhog/replica/v1/replica.proto
            - personhog/service/v1/service.proto
        MESSAGE_NO_DELETE:
            - personhog/types/v1/person.proto
        # Temporary: the WorkerIngest stream has no consumers yet, so its
        # response message can be reshaped in place. Remove once on master.
        FIELD_NO_DELETE:
            - ingestion/worker/v1/worker.proto
        FIELD_SAME_CARDINALITY:
            - ingestion/worker/v1/worker.proto
        FIELD_SAME_JSON_NAME:
            - ingestion/worker/v1/worker.proto
        FIELD_SAME_NAME:
            - ingestion/worker/v1/worker.proto
        FIELD_SAME_ONEOF:
            - ingestion/worker/v1/worker.proto
        FIELD_SAME_TYPE:
            - ingestion/worker/v1/worker.proto