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.18.1
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.19.0
Choose a head ref
  • 13 commits
  • 73 files changed
  • 15 contributors

Commits on Jan 9, 2024

  1. feat(eslint-plugin): [prefer-promise-reject-errors] add rule (#8011)

    * feat(eslint-plugin): [prefer-promise-reject-errors] new rule!
    
    * test: ~100% coverage
    
    * docs: add rule docs
    
    * test: add some cases
    
    * chore: lint --fix
    
    * chore: reformat tests
    
    * feat: add support for literal computed reject name
    
    * chore: lint --fix
    
    * refactor: get rid of one @ts-expect-error
    
    * docs: refer to the original rule description
    
    * test: add few cases
    
    * docs: remove some examples
    
    * refactor: move check if symbol is from default lib or not to new fn
    
    * refactor: assert that rejectVariable is non-nullable
    
    * chore: remove assertion in skipChainExpression
    
    * test: specify error ranges for invalid test cases
    
    * chore: format tests
    
    * chore: remove unused check if variable reference is read or not
    
    * chore: include rule to `strict-type-checked` config
    
    * refactor: simplify isSymbolFromDefaultLibrary
    
    * chore: remove ts-expect-error comment
    
    * feat: add checks for Promise child classes and unions/intersections
    
    * Update packages/eslint-plugin/docs/rules/prefer-promise-reject-errors.md
    
    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    
    * refactor: `program` -> `services.program`
    
    * refactor: split unreadable if condition
    
    * docs: simplify examples
    
    * refactor: rename `isBuiltinSymbolLike.ts` -> `builtinSymbolLikes.ts`
    
    * perf: get type of `reject` callee lazily
    
    * test: add cases with arrays,never,unknown
    
    * feat: add support for `Readonly<Error>` and similar
    
    * chore: fix lint issues
    
    ---------
    
    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    auvred and JoshuaKGoldberg authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    1aa8664 View commit details
    Browse the repository at this point in the history
  2. docs: base Testing Rules documentation (#8033)

    * docs: base Testing Rules documentation
    
    * fix(eslint-plugin): add no-unsafe-unary-minus, prefer-destructuring to disable-type-checked (#8038)
    
    fix: add no-unsafe-unary-minus, prefer-destructuring to disable-type-checked
    
    * docs: testing rules review changes + build callout
    
    * docs(eslint-plugin): [require-array-sort-compare] sync rule description (#8061)
    
    * chore: resolve internal lint issues with new no-useless-template-literals rule (#8060)
    
    * docs(eslint-plugin): [require-array-sort-compare] generalize sort method names (#8062)
    
    docs: streamline
    
    * chore: update sponsors (#8069)
    
    Co-authored-by: typescript-eslint[bot] <typescript-eslint[bot]@users.noreply.github.com>
    
    * Update docs/contributing/local-development/Local_Linking.mdx
    
    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    
    * docs: changed section name + callout type from caution to note
    
    ---------
    
    Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
    Co-authored-by: auvred <61150013+auvred@users.noreply.github.com>
    Co-authored-by: James <5511220+Zamiell@users.noreply.github.com>
    Co-authored-by: typescript-eslint[bot] <53356952+typescript-eslint[bot]@users.noreply.github.com>
    Co-authored-by: typescript-eslint[bot] <typescript-eslint[bot]@users.noreply.github.com>
    Co-authored-by: Gabriel Costa Moura <drt69727@MAC452093-M.local>
    7 people authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    9399029 View commit details
    Browse the repository at this point in the history
  3. feat(eslint-plugin): [no-array-delete] add new rule (#8067)

    * feat(eslint-plugin): [no-array-delete] add new rule
    
    * small refactor
    
    * add more cases
    
    * fix docs
    
    * fix message
    
    * use suggestion instead of fix
    
    * added more test cases
    
    * remove redundant condition
    
    * keep comments
    StyleShit authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    e0f591e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8ca5e5e View commit details
    Browse the repository at this point in the history
  5. feat(eslint-plugin): [no-useless-template-literals] add fix suggestio…

    …ns (#8065)
    
    * feat(eslint-plugin): [no-useless-template-literals] add fix suggestions
    
    * change message
    
    * add quasis to cspell
    
    * add some test cases
    
    * use fix instead of suggestion
    StyleShit authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    c3767ed View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

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

Commits on Jan 12, 2024

  1. Configuration menu
    Copy the full SHA
    e80d54e View commit details
    Browse the repository at this point in the history
  2. fix(eslint-plugin): [no-unnecessary-type-assertion] detect unnecessar…

    …y non-null-assertion on a call expression (#8143)
    
    * feat(eslint-plugin): [no-unnecessary-type-assertion] add `Identifier` check
    
    * feat(eslint-plugin): [no-unnecessary-type-assertion] update fixer for `CallExpression`
    
    * feat(eslint-plugin): [no-unnecessary-type-assertion] add test case
    
    * feat(eslint-plugin): [no-unnecessary-type-assertion] fit more cases
    
    * feat(eslint-plugin): [no-unnecessary-type-assertion] add valid test cases
    
    * fix: fix a gap and add tests
    
    * fix: typo
    lvjiaxuan authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    5a56708 View commit details
    Browse the repository at this point in the history
  3. fix(typescript-estree): disallow using as the variable keyword for …

    …`for..in` loops (#7649)
    
    Co-authored-by: Brad Zacher <brad.zacher@gmail.com>
    Solo-steven and bradzacher authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    7e75e84 View commit details
    Browse the repository at this point in the history
  4. fix(eslint-plugin): [no-unnecesary-type-assertion] treat unknown/any …

    …as nullable (#8089)
    
    Co-authored-by: Brad Zacher <brad.zacher@gmail.com>
    Josh-Cena and bradzacher authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    85ae4a8 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2024

  1. Configuration menu
    Copy the full SHA
    c7b0b6c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b795153 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2024

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