Skip to content

Update eslint config rules to error instead of warn #1405

@AbhiPrasad

Description

@AbhiPrasad

We have a bunch of rules in https://github.com/braintrustdata/braintrust-sdk/blob/main/js/eslint.config.ts that currently warn. Let's work to fix them, and then set them to error for future work.

  • @typescript-eslint/no-explicit-any
  • @typescript-eslint/consistent-type-assertions
  • no-unused-expressions
  • @typescript-eslint/no-empty-object-type
  • @typescript-eslint/no-unsafe-function-type
  • @typescript-eslint/prefer-as-const
  • no-restricted-syntax

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions