-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Comparing changes
Open a pull request
base repository: typescript-eslint/typescript-eslint
base: v6.18.1
head repository: typescript-eslint/typescript-eslint
compare: v6.19.0
- 13 commits
- 73 files changed
- 15 contributors
Commits on Jan 9, 2024
-
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>
Configuration menu - View commit details
-
Copy full SHA for 1aa8664 - Browse repository at this point
Copy the full SHA 1aa8664View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 9399029 - Browse repository at this point
Copy the full SHA 9399029View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for e0f591e - Browse repository at this point
Copy the full SHA e0f591eView commit details -
docs: force space after await in no-floating-promises snippet (#8228)
force space after await
Configuration menu - View commit details
-
Copy full SHA for 8ca5e5e - Browse repository at this point
Copy the full SHA 8ca5e5eView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for c3767ed - Browse repository at this point
Copy the full SHA c3767edView commit details
Commits on Jan 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 96ffd24 - Browse repository at this point
Copy the full SHA 96ffd24View commit details
Commits on Jan 12, 2024
-
fix(typescript-estree): add JSDocParsingMode enum merge for typescrip…
…t/lib/tsserverlibrary (#8193)
Configuration menu - View commit details
-
Copy full SHA for e80d54e - Browse repository at this point
Copy the full SHA e80d54eView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 5a56708 - Browse repository at this point
Copy the full SHA 5a56708View commit details -
fix(typescript-estree): disallow
using
as the variable keyword for ……`for..in` loops (#7649) Co-authored-by: Brad Zacher <brad.zacher@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7e75e84 - Browse repository at this point
Copy the full SHA 7e75e84View commit details -
fix(eslint-plugin): [no-unnecesary-type-assertion] treat unknown/any …
…as nullable (#8089) Co-authored-by: Brad Zacher <brad.zacher@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 85ae4a8 - Browse repository at this point
Copy the full SHA 85ae4a8View commit details
Commits on Jan 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c7b0b6c - Browse repository at this point
Copy the full SHA c7b0b6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b795153 - Browse repository at this point
Copy the full SHA b795153View commit details
Commits on Jan 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7c673a1 - Browse repository at this point
Copy the full SHA 7c673a1View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v6.18.1...v6.19.0