Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: typescript-eslint/typescript-eslint
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.16.0
Choose a base ref
...
head repository: typescript-eslint/typescript-eslint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.17.0
Choose a head ref
  • 10 commits
  • 50 files changed
  • 8 contributors

Commits on Dec 26, 2023

  1. docs(eslint-plugin): [prefer-readonly-parameter-types] fix broken cod…

    …e samples (#8135)
    
    * docs(eslint-plugin): [prefer-readonly-parameter-types] fix broken code samples
    auvred authored Dec 26, 2023
    Configuration menu
    Copy the full SHA
    cde4d4d View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2023

  1. docs: modify examples for explicit-module-boundary-types (#7404)

    * docs : modify examples for explicit-module-boundary-types
    
    * docs : update examples for explicit-module-boundary-types
    
    * docs: fix atx-style
    
    * docs: update code based on the request
    
    * docs: fix typo
    
    * docs: change case 3 to case 1
    Ryan-Dia authored Dec 29, 2023
    Configuration menu
    Copy the full SHA
    5ad1b76 View commit details
    Browse the repository at this point in the history
  2. feat(eslint-plugin): [switch-exhaustiveness-check] add an option to w…

    …arn against a `default` case on an already exhaustive `switch` (#7539)
    
    * feat: switch-exhaustiveness-check checks for dangerous default case
    
    * fix: spelling
    
    * fix: comment
    
    * fix: docs
    
    * feat: allowDefaultCase option
    
    * fix: tests
    
    * fix: lint
    
    * fix: prettier
    
    * refactor: finish merge
    
    * fix: format
    
    * fix: lint
    
    * chore: update docs
    
    * chore: update docs
    
    * chore: format
    
    * fix: test
    
    * fix: tests
    
    * fix: tests
    
    * fix: tests
    
    * fix: test
    
    * fix: test
    
    * fix: tests
    
    * Update packages/eslint-plugin/src/rules/switch-exhaustiveness-check.ts
    
    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    
    * fix: double options in docs
    
    * Update packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.md
    
    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    
    * feat: simplify code flow
    
    * Update packages/eslint-plugin/src/rules/switch-exhaustiveness-check.ts
    
    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    
    * fix: grammar
    
    * Update packages/eslint-plugin/src/rules/switch-exhaustiveness-check.ts
    
    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    
    * fix: wording on option
    
    * Update packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.md
    
    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    
    * docs: add playground link
    
    * Update packages/eslint-plugin/src/rules/switch-exhaustiveness-check.ts
    
    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    
    * chore: add punctuation
    
    * Update packages/eslint-plugin/src/rules/switch-exhaustiveness-check.ts
    
    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    
    * chore: remove comment
    
    * refactor: rename option
    
    * fix: prettier
    
    * fix: lint
    
    * fix: tests
    
    * refactor: better metadata
    
    * fix: tests
    
    * refactor: rename interface
    
    * refactor: make interface readonly
    
    ---------
    
    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    Zamiell and JoshuaKGoldberg authored Dec 29, 2023
    Configuration menu
    Copy the full SHA
    6a219bd View commit details
    Browse the repository at this point in the history
  3. feat(eslint-plugin): [no-floating-promises] flag result of .map(async) (

    #7897)
    
    * flag arrays of promises
    
    * remove comment
    
    * trying to trigger CI
    
    * Substantial simplification
    
    * add some grody test cases for generics
    
    * flip if/else
    
    * add detail to test case
    
    * switch to isArrayLikeType
    
    * Revert "switch to isArrayLikeType"
    
    This reverts commit 2afe794.
    
    * add checks for tuples
    
    * One more test case!
    
    * else if
    
    * Remove unnecessary whitespace
    
    * Remove invalid test case
    
    * Add to docs
    
    * Add test cases around array that's fine but tuple that isn't
    
    * tweaks
    kirkwaiblinger authored Dec 29, 2023
    Configuration menu
    Copy the full SHA
    5857356 View commit details
    Browse the repository at this point in the history
  4. chore(deps): update dependency typescript to v5.3.3 (#8129)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 29, 2023
    Configuration menu
    Copy the full SHA
    eb9d28c View commit details
    Browse the repository at this point in the history
  5. chore(deps): update dependency stylelint-order to v6.0.4 (#8128)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 29, 2023
    Configuration menu
    Copy the full SHA
    c9df266 View commit details
    Browse the repository at this point in the history
  6. chore(deps): update dependency eslint-plugin-import to v2.29.1 (#8125)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 29, 2023
    Configuration menu
    Copy the full SHA
    d53f22e View commit details
    Browse the repository at this point in the history
  7. chore(deps): update dependency @types/node to v20.10.5 (#8124)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 29, 2023
    Configuration menu
    Copy the full SHA
    cb5bac8 View commit details
    Browse the repository at this point in the history
  8. fix(eslint-plugin): [no-restricted-imports] prevent crash when `patte…

    …rns` or `paths` in options are empty (#8108)
    
    * fix(eslint-plugin): [no-restricted-imports] prevent crash when patterns or paths are empty
    
    * Update packages/eslint-plugin/src/rules/no-restricted-imports.ts
    
    Co-authored-by: StyleShit <32631382+StyleShit@users.noreply.github.com>
    
    * refactor: explicit zero-length check
    
    * revert: "refactor: explicit zero-length check"
    
    ---------
    
    Co-authored-by: StyleShit <32631382+StyleShit@users.noreply.github.com>
    auvred and StyleShit authored Dec 29, 2023
    Configuration menu
    Copy the full SHA
    675e987 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2024

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