Changes to configurations for 8.0.0 #8914
Replies: 6 comments 10 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.
-
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
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-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
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