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.
-
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
#v8
channel: what feedback to you have? 💜Table Key
Recommendations Table
adjacent-overload-signatures
array-type
await-thenable
ban-ts-comment
ban-tslint-comment
ban-types
ban-types
no-restricted-types
no-unsafe-function-type
no-wrapper-object-types
class-literal-property-style
class-methods-use-this
consistent-generic-constructors
consistent-indexed-object-style
consistent-return
consistent-type-assertions
consistent-type-definitions
consistent-type-exports
consistent-type-imports
default-param-last
dot-notation
explicit-function-return-type
explicit-member-accessibility
explicit-module-boundary-types
init-declarations
max-params
member-ordering
method-signature-style
naming-convention
no-array-constructor
no-array-delete
no-base-to-string
no-confusing-non-null-assertion
no-confusing-void-expression
no-dupe-class-members
no-duplicate-enum-values
no-duplicate-type-constituents
no-dynamic-delete
no-empty-function
no-empty-object-type
no-empty-interface
no-explicit-any
no-extra-non-null-assertion
no-extra-semi
no-extraneous-class
no-floating-promises
no-for-in-array
no-implied-eval
no-import-type-side-effects
no-inferrable-types
no-invalid-this
no-invalid-void-type
no-loop-func
no-loss-of-precision
no-magic-numbers
no-meaningless-void-operator
no-misused-new
no-misused-promises
no-mixed-enums
no-namespace
no-non-null-asserted-nullish-coalescing
no-non-null-asserted-optional-chain
no-non-null-assertion
no-redeclare
no-redundant-type-constituents
no-require-imports
no-restricted-imports
no-shadow
no-this-alias
no-throw-literal
no-type-alias
no-unnecessary-boolean-literal-compare
no-unnecessary-condition
no-unnecessary-qualifier
no-unnecessary-type-arguments
no-unnecessary-type-assertion
no-unnecessary-type-constraint
no-unsafe-argument
no-unsafe-assignment
no-unsafe-call
no-unsafe-declaration-merging
no-unsafe-enum-comparison
no-unsafe-member-access
no-unsafe-return
no-unsafe-unary-minus
no-unused-expressions
no-unused-vars
no-use-before-define
no-useless-constructor
no-useless-empty-export
no-useless-template-literals
no-var-requires
no-require-imports
non-nullable-type-assertion-style
only-throw-error
parameter-properties
prefer-as-const
prefer-destructuring
prefer-enum-initializers
prefer-find
prefer-for-of
prefer-function-type
prefer-includes
prefer-literal-enum-member
prefer-namespace-keyword
prefer-nullish-coalescing
prefer-optional-chain
prefer-promise-reject-errors
prefer-readonly
prefer-readonly-parameter-types
prefer-reduce-type-parameter
prefer-regexp-exec
prefer-return-this-type
prefer-string-starts-ends-with
prefer-ts-expect-error
promise-function-async
require-array-sort-compare
require-await
restrict-plus-operands
restrict-template-expressions
return-await
sort-type-constituents
strict-boolean-expressions
switch-exhaustiveness-check
triple-slash-reference
typedef
unbound-method
unified-signatures
use-unknown-in-catch-callback-variable
Beta Was this translation helpful? Give feedback.
All reactions