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

Enable more ESLint rules

    XMLWordPrintable

    Details

      Description

      Further ESLint rules to enable:

      1. no-cond-assign
      2. no-console
      3. no-control-regex
      4. no-debugger
      5. no-div-regex
      6. no-dupe-args
      7. no-dupe-keys
      8. no-duplicate-case
      9. no-empty-character-class
      10. no-empty-label
      11. no-empty-pattern
      12. no-ex-assign
      13. no-extra-boolean-cast
      14. no-fallthrough
      15. no-func-assign
      16. no-invalid-regexp
      17. no-negated-in-lhs
      18. no-obj-calls
      19. no-octal
      20. no-regex-spaces
      21. no-return-assign
      22. no-script-url
      23. no-self-compare
      24. no-sequences
      25. no-sparse-arrays
      26. no-unexpected-multiline
      27. no-unreachable
      28. no-useless-call
      29. no-useless-concat (required to fit code under 100 columns)
      30. no-with
      31. use-isnan
      32. valid-typeof

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: