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.

908 B
Raw Blame
module.exports = {
    root: true,
    parser: '@typescript-eslint/parser',
    // Keep ESLint untyped for directive checks and proto cleanup; Oxlint handles types without the V8 heap cost.
    parserOptions: {
        sourceType: 'module',
        project: false,
        projectService: false,
    },
    plugins: ['@typescript-eslint'],
    extends: ['plugin:@eslint-community/eslint-comments/recommended'],
    reportUnusedDisableDirectives: false,
    ignorePatterns: [
        'bin',
        'dist',
        'node_modules',
        'src/common/config/idl',
        'src/ingestion/pipelines/sessionreplay/ml-mirror-image-scrub-sidecar',
        '**/dev/**',
    ],
    overrides: [
        {
            files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'],
        },
        {
            files: ['src/common/generated/**/*.ts'],
            reportUnusedDisableDirectives: true,
        },
    ],
}