Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-22340

Fix JS lint errors in src/mongo/shell & src/mongo/scripting with ESLint --fix

    XMLWordPrintable

    Details

      Description

      ESLint can automatically fix some linting errors with --fix. We should fix the following categories of errors to make our JavaScript work better with token-based formatters like clang-format:

      1. no-extra-semi
      2. semi

      To make it easier to review the changes and parallelize work, this task will be scoped to the JS in src/mongo/shell & src/mongo/scripting.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: