Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(eslint-plugin): [switch-exhaustiveness-check] add an option to warn against a default case on an already exhaustive switch #7539

Merged
merged 50 commits into from
Dec 29, 2023

Commits on Aug 26, 2023

  1. Configuration menu
    Copy the full SHA
    af5eda0 View commit details
    Browse the repository at this point in the history
  2. fix: spelling

    Zamiell committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    12a7635 View commit details
    Browse the repository at this point in the history
  3. fix: comment

    Zamiell committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    729378f View commit details
    Browse the repository at this point in the history
  4. fix: docs

    Zamiell committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    329c99e View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. Configuration menu
    Copy the full SHA
    7fc2823 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Configuration menu
    Copy the full SHA
    4a5002e View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Configuration menu
    Copy the full SHA
    1c2f06c View commit details
    Browse the repository at this point in the history
  2. feat: allowDefaultCase option

    Zamiell committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    0e5afe5 View commit details
    Browse the repository at this point in the history
  3. fix: tests

    Zamiell committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    99ef806 View commit details
    Browse the repository at this point in the history
  4. fix: lint

    Zamiell committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    c7ca234 View commit details
    Browse the repository at this point in the history
  5. fix: prettier

    Zamiell committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    5709fe3 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Configuration menu
    Copy the full SHA
    074905f View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Configuration menu
    Copy the full SHA
    81b4400 View commit details
    Browse the repository at this point in the history
  2. refactor: finish merge

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    7729224 View commit details
    Browse the repository at this point in the history
  3. fix: format

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    592de1d View commit details
    Browse the repository at this point in the history
  4. fix: lint

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    26a9919 View commit details
    Browse the repository at this point in the history
  5. chore: update docs

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    e865d6b View commit details
    Browse the repository at this point in the history
  6. chore: update docs

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    5be7b48 View commit details
    Browse the repository at this point in the history
  7. chore: format

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    d18f0f1 View commit details
    Browse the repository at this point in the history
  8. fix: test

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    4091daf View commit details
    Browse the repository at this point in the history
  9. fix: tests

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    d68f7b7 View commit details
    Browse the repository at this point in the history
  10. fix: tests

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    1fa4494 View commit details
    Browse the repository at this point in the history
  11. fix: tests

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    22c1503 View commit details
    Browse the repository at this point in the history
  12. fix: test

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    c928b18 View commit details
    Browse the repository at this point in the history
  13. fix: test

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    c32204e View commit details
    Browse the repository at this point in the history
  14. fix: tests

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    6ea1b32 View commit details
    Browse the repository at this point in the history
  15. Update packages/eslint-plugin/src/rules/switch-exhaustiveness-check.ts

    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    Zamiell and JoshuaKGoldberg committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    090a737 View commit details
    Browse the repository at this point in the history
  16. fix: double options in docs

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    b93f501 View commit details
    Browse the repository at this point in the history
  17. Update packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.md

    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    Zamiell and JoshuaKGoldberg committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    0fe1cd9 View commit details
    Browse the repository at this point in the history
  18. feat: simplify code flow

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    cab680a View commit details
    Browse the repository at this point in the history
  19. Update packages/eslint-plugin/src/rules/switch-exhaustiveness-check.ts

    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    Zamiell and JoshuaKGoldberg committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    8ad5037 View commit details
    Browse the repository at this point in the history
  20. fix: grammar

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    4aa247b View commit details
    Browse the repository at this point in the history
  21. Update packages/eslint-plugin/src/rules/switch-exhaustiveness-check.ts

    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    Zamiell and JoshuaKGoldberg committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    9a63489 View commit details
    Browse the repository at this point in the history
  22. fix: wording on option

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    30b6695 View commit details
    Browse the repository at this point in the history
  23. Update packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.md

    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    Zamiell and JoshuaKGoldberg committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    5a3bf3c View commit details
    Browse the repository at this point in the history
  24. docs: add playground link

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    e1e8554 View commit details
    Browse the repository at this point in the history
  25. Update packages/eslint-plugin/src/rules/switch-exhaustiveness-check.ts

    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    Zamiell and JoshuaKGoldberg committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    7dbafe5 View commit details
    Browse the repository at this point in the history
  26. chore: add punctuation

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    d0611cb View commit details
    Browse the repository at this point in the history
  27. Update packages/eslint-plugin/src/rules/switch-exhaustiveness-check.ts

    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    Zamiell and JoshuaKGoldberg committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    2c6dfb4 View commit details
    Browse the repository at this point in the history
  28. chore: remove comment

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    279aa9c View commit details
    Browse the repository at this point in the history
  29. refactor: rename option

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    29284b2 View commit details
    Browse the repository at this point in the history
  30. fix: prettier

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    8e24cfb View commit details
    Browse the repository at this point in the history
  31. fix: lint

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    9fda18d View commit details
    Browse the repository at this point in the history
  32. fix: tests

    Zamiell committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    24327c4 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Configuration menu
    Copy the full SHA
    c4a7646 View commit details
    Browse the repository at this point in the history
  2. refactor: better metadata

    Zamiell committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    e5f0587 View commit details
    Browse the repository at this point in the history
  3. fix: tests

    Zamiell committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    75e3015 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. refactor: rename interface

    Zamiell committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    6e427b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d8bba6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fbc3f3e View commit details
    Browse the repository at this point in the history