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

Re-enable the eslint rule no-case-declarations

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

      Only one package affected:

      /Users/leroux.bodenstein/mongo/mongosh/packages/shell-api/src/mongo.ts
        378:9  error  Unexpected lexical declaration in case block  no-case-declarations
        387:9  error  Unexpected lexical declaration in case block  no-case-declarations
        393:9  error  Unexpected lexical declaration in case block  no-case-declarations
        394:9  error  Unexpected lexical declaration in case block  no-case-declarations
        405:9  error  Unexpected lexical declaration in case block  no-case-declarations
        408:9  error  Unexpected lexical declaration in case block  no-case-declarations
        411:9  error  Unexpected lexical declaration in case block  no-case-declarations
        414:9  error  Unexpected lexical declaration in case block  no-case-declarations
        498:9  error  Unexpected lexical declaration in case block  no-case-declarations
      
      /Users/leroux.bodenstein/mongo/mongosh/packages/shell-api/src/shell-instance-state.ts
        522:9  error  Unexpected lexical declaration in case block  no-case-declarations
      

      Either once 2.0 is out or just open the PR against the 2.0 branch to limit the possible merge conflicts.

            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: