Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1584

Re-enable the eslint rule @typescript-eslint/no-empty-function

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Tech debt
    • None
    • 2

      /Users/leroux.bodenstein/mongo/mongosh/packages/logging/src/analytics-helpers.ts
         82:30  error  Unexpected empty method 'identify'  @typescript-eslint/no-empty-function
         83:27  error  Unexpected empty method 'track'     @typescript-eslint/no-empty-function
        207:62  error  Unexpected empty arrow function     @typescript-eslint/no-empty-function
      
      /Users/leroux.bodenstein/mongo/mongosh/packages/service-provider-server/src/cli-service-provider.ts
        340:23  error  Unexpected empty arrow function  @typescript-eslint/no-empty-function
        345:23  error  Unexpected empty arrow function  @typescript-eslint/no-empty-function
        350:23  error  Unexpected empty arrow function  @typescript-eslint/no-empty-function
      
      /Users/leroux.bodenstein/mongo/mongosh/packages/shell-api/src/decorators.ts
        263:60  error  Unexpected empty arrow function  @typescript-eslint/no-empty-function
      
      /Users/leroux.bodenstein/mongo/mongosh/packages/shell-api/src/interruptor.ts
        54:24  error  Unexpected empty arrow function 'destroy'  @typescript-eslint/no-empty-function
      
      /Users/leroux.bodenstein/mongo/mongosh/packages/shell-api/src/mongo.ts
        697:7  error  Unexpected empty function 'assertAllSessionOptionsUsed'  @typescript-eslint/no-empty-function
      
      /Users/leroux.bodenstein/mongo/mongosh/packages/snippet-manager/src/snippet-manager.ts
        126:39  error  Unexpected empty arrow function  @typescript-eslint/no-empty-function
        382:58  error  Unexpected empty arrow function  @typescript-eslint/no-empty-function
        440:38  error  Unexpected empty arrow function  @typescript-eslint/no-empty-function
        476:42  error  Unexpected empty arrow function  @typescript-eslint/no-empty-function
      
      /Users/leroux.bodenstein/mongo/mongosh/packages/cli-repl/src/line-by-line-input.ts
        89:17  error  Unexpected empty method '_read'  @typescript-eslint/no-empty-function
      
      /Users/leroux.bodenstein/mongo/mongosh/packages/cli-repl/src/mongosh-repl.ts
        141:32  error  Unexpected empty arrow function  @typescript-eslint/no-empty-function
      
      /Users/leroux.bodenstein/mongo/mongosh/packages/browser-repl/src/components/editor.tsx
        12:26  error  Unexpected empty arrow function  @typescript-eslint/no-empty-function
      
      /Users/leroux.bodenstein/mongo/mongosh/packages/browser-repl/src/sandbox.tsx
        156:70  error  Unexpected empty method 'buz'  @typescript-eslint/no-empty-function
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: