Open mightyiam opened 3 years ago
Will the unsafe
TS checks ever be added? They are recommended by typescript-eslint
via plugin:@typescript-eslint/recommended-requiring-type-checking
'@typescript-eslint/no-unsafe-argument': 'error',
'@typescript-eslint/no-unsafe-assignment': 'error',
'@typescript-eslint/no-unsafe-call': 'error',
'@typescript-eslint/no-unsafe-member-access': 'error',
'@typescript-eslint/no-unsafe-return': 'error',
Thank you, @flippidippi.
@rostislav-simonik and I reviewed the rules you asked about and we are in favor of them being added.
Would you like to submit a pull request adding them?
While we are at it, may as well add no-unsafe-declaration-merging
because we reviewed that, as well.
It looks like no-unsafe-declaration-merging
would require an upgrade. Should that be done in a different PR?
@flippidippi an upgrade of what, please? This project has automatic dependency upgrade PRs by renovate. So I don't expect our dependencies to be out of date.
@typescript-eslint/parser
would need to be upgraded to include the newer no-unsafe-declaration-merging
rule.
Oh... you're right. There seems to be a discrepancy. I expect to receive a PR for updating the parser automatically. I don't see one, though.
So, feel free to proceed without that rule, then.
A checked checkbox means that the change has been considered.
5.46.1 (2022-12-12)
5.46.0 (2022-12-08)
5.45.1 (2022-12-05)
5.45.0 (2022-11-28)
5.44.0 (2022-11-21)
satisfies
operators (#5717) (20d7cae)5.43.0 (2022-11-14)
!foo || !foo.bar
as a valid match for the rule (#5594) (923d486)5.42.1 (2022-11-07)
5.42.0 (2022-10-31)
RuleTester
API for top-level dependency constraints (#5896) (0520d53)Reverts
5.41.0 (2022-10-24)
5.40.1 (2022-10-17)
5.40.0 (2022-10-10)
RuleTester
(#5750) (121f4c0)5.39.0 (2022-10-03)
5.38.1 (2022-09-26)
Note: Version bump only for package @typescript-eslint/typescript-eslint
5.38.0 (2022-09-19)
5.37.0 (2022-09-12)
5.36.2 (2022-09-05)
5.36.1 (2022-08-30)
5.36.0 (2022-08-30)
5.35.1 (2022-08-24)
5.35.0 (2022-08-24)
5.34.0 (2022-08-22)
!foo || !foo.bar
as a valid match for the rule (#5266) (aca935c)5.33.1 (2022-08-15)
5.33.0 (2022-08-08)
5.32.0 (2022-08-01)
5.31.0 (2022-07-25)
5.30.7 (2022-07-18)
5.30.6 (2022-07-11)
Note: Version bump only for package @typescript-eslint/typescript-eslint
5.30.5 (2022-07-04)
5.30.4 (2022-07-03)
Note: Version bump only for package @typescript-eslint/typescript-eslint
5.30.3 (2022-07-01)
Note: Version bump only for package @typescript-eslint/typescript-eslint
5.30.2 (2022-07-01)
Note: Version bump only for package @typescript-eslint/typescript-eslint
5.30.1 (2022-07-01)
5.30.0 (2022-06-27)
this
intypeof this
as aThisExpression
(#4382) (b04b2ce)5.29.0 (2022-06-20)
5.28.0 (2022-06-13)
AssignmentOperatorToText
(#3570) (45f75e6)5.27.1 (2022-06-06)
5.27.0 (2022-05-30)
typeof
(#5067) (836de79)5.26.0 (2022-05-23)
extends
constraints forinfer
(#4830) (8cbbcc3)5.25.0 (2022-05-17)
no-duplicate-imports
in favour ofimport/no-duplicates
(#4973) (1d2e41a)5.24.0 (2022-05-16)
5.23.0 (2022-05-09)
5.22.0 (2022-05-02)
5.21.0 (2022-04-25)
no-parameter-properties
(#4622) (88ed9ec)5.20.0 (2022-04-18)
5.19.0 (2022-04-11)
ignoreDifferentlyNamedParameters
option (#4659) (fdf95e0)5.18.0 (2022-04-04)
5.17.0 (2022-03-28)
5.16.0 (2022-03-21)
5.15.0 (2022-03-14)
5.14.0
checksVoidReturns
(#4623) (1085177)5.13.0
no-redundant-type-constituents
rule (#4378) (63d051e)no-useless-empty-export
rule (#4380) (823b945)space-before-blocks
(#1606) (#4184) (208b6d0)5.12.1
5.12.0
5.11.0
5.10.2
5.10.1
5.10.0
5.9.1
5.9.0
5.8.1
5.8.0
any
/unknown
(#4207) (ff0adf9)5.7.0
5.6.0
5.5.0
array-type
distinguish whether readonly or not (#4066) (314af44)5.4.0
5.3.1
5.3.0
5.2.0
consistent-type-exports
rule (#3936) (1971a3f)5.1.0
5.0.0
4.33.0
4.32.0
no-non-null-asserted-nullish-coalescing
rule (#3349) (4e99961)no-restricted-imports
(#3775) (ec5d506)DefinitionType
enum (#3916) (13b7de5)'latest'
asecmaVersion
(#3873) (25a42c0)4.31.0
no-meaningless-void-operator
rule (#3641) (ea40ab6)padding-line-between-statements
(#3418) (f79ae9b)4.30.0
4.29.0
4.27.0
4.26.0
4.24.0
noPropertyAccessFromIndexSignature
(#3361) (37ec2c2)4.21.0
4.20.0
4.19.0
4.16.0
4.14.0
object-curly-spacing
rule (#2892) (32bd18d)4.13.0
4.12.0
sort-type-union-intersection-members
(#2913) (9092c04)4.10.0
non-nullable-type-assertion-style
(#2624) (7eee44f)4.9.0
this: void
parameter (#2796) (878dd4a)4.7.0
no-confusing-void-expression
(#2605) (c8a4dad)4.6.0
[]
(#2704) (ef8b5a7), closes #2582no-unnecessary-type-constraint
rule (#2516) (880ac75)space-infix-ops
(#2593) (343d20d)4.5.0
allowProtectedClassPropertyAccess
option (#2622) (bbc9e35)ignoreInferredTypes
option (#2668) (91010e8)4.4.0
consistent-indexed-object-style
rule (#2401) (d7dc108)no-duplicate-imports
(#2609) (498f397)4.3.0
this: void
(#2481) (ddf5660)4.2.0
comma-dangle
(#2416) (f7babcf)4.1.0
ignoreFunctionTypeParameterNameValueShadow
(#2470) (bfe255f)no-loop-func
(#2490) (36305df)