Changes to configurations for 8.0.0 #8914
Replies: 11 comments 14 replies
-
|
Fun fact, I somewhat auto-generated this table. 😎 https://github.com/JoshuaKGoldberg/repros/tree/ts-eslint-v8-config-changes-generator |
Beta Was this translation helpful? Give feedback.
-
|
If no-useless-template-literal is destined to be renamed, should we sneak that in before it gets added to recommended to minimize impact of the renaming (on things like disable comments etc)? |
Beta Was this translation helpful? Give feedback.
-
|
Interesting note: prefer-find and prefer-includes at first seem like rules that would be in |
Beta Was this translation helpful? Give feedback.
-
|
Here are some rules I find handy Add
|
Beta Was this translation helpful? Give feedback.
-
|
Just heads up, ➕ and ➖ emojis are not visible on dark mode. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Update (May 11th): with #8977's |
Beta Was this translation helpful? Give feedback.
-
|
I'm excited to see all this work on v8! Is there a rough timeline for when this version will drop? I think I'm right in saying ESLint v9 has been out nearly a couple of months now but the current version of typescript-eslint doesn't support it, preventing new users/projects from using the latest major version. |
Beta Was this translation helpful? Give feedback.
-
|
Coming over from #9079 (comment): we're going to try out moving @typescript-eslint/no-unused-expressions to |
Beta Was this translation helpful? Give feedback.
-
|
Calling out that return-await is on track to be added to the strict config, a la #8667/#9604 |
Beta Was this translation helpful? Give feedback.
-
|
I'm coming from blog post https://typescript-eslint.io/blog/announcing-typescript-eslint-v8 to see what where the actual changes to some rules. :) Some updates that could be made to table or just noting these here for next user that is curious why they are listed removed in config diffs. Though if you read the blog lost further, you also get the same explanation :D
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
We're working towards a new v8 major versions for typescript-eslint. Major versions are when we have an opportunity to adjust the shared configs. Exciting!
As with 6.0 (#6014), this is a proposal for the new shared configs. We're looking for feedback from the community before we go ahead and make the changes.
Please, let us know here or in the typescript-eslint Discord's
#v8channel: what feedback to you have? 💜Table Key
Recommendations Table
adjacent-overload-signaturesarray-typeawait-thenableban-ts-commentban-tslint-commentban-typesban-typesno-restricted-typesno-unsafe-function-typeno-wrapper-object-typesclass-literal-property-styleclass-methods-use-thisconsistent-generic-constructorsconsistent-indexed-object-styleconsistent-returnconsistent-type-assertionsconsistent-type-definitionsconsistent-type-exportsconsistent-type-importsdefault-param-lastdot-notationexplicit-function-return-typeexplicit-member-accessibilityexplicit-module-boundary-typesinit-declarationsmax-paramsmember-orderingmethod-signature-stylenaming-conventionno-array-constructorno-array-deleteno-base-to-stringno-confusing-non-null-assertionno-confusing-void-expressionno-dupe-class-membersno-duplicate-enum-valuesno-duplicate-type-constituentsno-dynamic-deleteno-empty-functionno-empty-object-typeno-empty-interfaceno-explicit-anyno-extra-non-null-assertionno-extra-semino-extraneous-classno-floating-promisesno-for-in-arrayno-implied-evalno-import-type-side-effectsno-inferrable-typesno-invalid-thisno-invalid-void-typeno-loop-funcno-loss-of-precisionno-magic-numbersno-meaningless-void-operatorno-misused-newno-misused-promisesno-mixed-enumsno-namespaceno-non-null-asserted-nullish-coalescingno-non-null-asserted-optional-chainno-non-null-assertionno-redeclareno-redundant-type-constituentsno-require-importsno-restricted-importsno-shadowno-this-aliasno-throw-literalno-type-aliasno-unnecessary-boolean-literal-compareno-unnecessary-conditionno-unnecessary-qualifierno-unnecessary-type-argumentsno-unnecessary-type-assertionno-unnecessary-type-constraintno-unsafe-argumentno-unsafe-assignmentno-unsafe-callno-unsafe-declaration-mergingno-unsafe-enum-comparisonno-unsafe-member-accessno-unsafe-returnno-unsafe-unary-minusno-unused-expressionsno-unused-varsno-use-before-defineno-useless-constructorno-useless-empty-exportno-useless-template-literalsno-var-requiresno-require-importsnon-nullable-type-assertion-styleonly-throw-errorparameter-propertiesprefer-as-constprefer-destructuringprefer-enum-initializersprefer-findprefer-for-ofprefer-function-typeprefer-includesprefer-literal-enum-memberprefer-namespace-keywordprefer-nullish-coalescingprefer-optional-chainprefer-promise-reject-errorsprefer-readonlyprefer-readonly-parameter-typesprefer-reduce-type-parameterprefer-regexp-execprefer-return-this-typeprefer-string-starts-ends-withprefer-ts-expect-errorpromise-function-asyncrequire-array-sort-comparerequire-awaitrestrict-plus-operandsrestrict-template-expressionsreturn-awaitsort-type-constituentsstrict-boolean-expressionsswitch-exhaustiveness-checktriple-slash-referencetypedefunbound-methodunified-signaturesuse-unknown-in-catch-callback-variableBeta Was this translation helpful? Give feedback.
All reactions