Update @typescript-eslint/eslint-plugin, @typescript-eslint/parser to the latest version #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version 5.0.0 of @typescript-eslint/eslint-plugin was just published.
The version(
5.0.0
) is not covered by your current version range(^4.6.0
).Release Notes
v5.0.0
5.0.0 (2021-10-11)
Breaking Release Notes
All Packages
Drop support for Node v10 - required node version is now
^12.22.0 || ^14.17.0 || >=16.0.0
.Drop Support for ESLint v5
ESLint-Plugin
[ban-types] remove
object
from the default ban list[comma-dangle] align schema with ESLint v8
[member-ordering] add support for getters and setters
[no-unused-vars-experimental] rule has been deleted
@typescript-eslint/no-unused-vars
instead! It has had full and awesome support for TypeScript since v4.9.0 - and it doesn't require type information!Experimental-Utils:
Remove
SourceCode#getComments
API from ESLint types.Support ESLint v8:
CLIEngine
is now conditionallyundefined
. It was deprecated in v7 and removed in v8. If you're still using it, you should upgrade to theESLint
API.meta.docs.category
. ESLint has removed this from their core rules as it wasn't ever very useful and was always poorly done. We have followed suit and removed it from our types and our rules.TypeScript-ESTree / AST-Spec
Change
.source
ofExportNamedDeclaration
,ExportAllDeclaration
andImportDeclaration
toStringLiteral
and add parse-time errors.Remove
TSParenthesizedType
node.Remove legacy option
useJSXTextNode
.JSXText
- so you should be using that too.Align class features AST with ESTree. This aligns with ESLint v8.
ClassProperty
is now calledPropertyDefinition
TSAbstractClassProperty
is now calledTSAbstractPropertyDefinition
TSAbstractPropertyDefinition.value
is now alwaysnull
.Add full support for
PrivateIdentifier
(#private
class members)#private
members.LineAndColumnData
toPosition
(aligns naming with the ESTree spec docs)Scope-Manager
Class properties with values now create a
'class-field-initializer'
type scope around their value.eslint-scope
v6.Raw Changelog
Bug Fixes
TSAbstractPropertyDefinition
andTSAbstractMethodDefinition
properly (#3901) (82016f9)isSetter
's return type (#3975) (d256856)source
of ExportNamedDeclaration to Literal from Expression (#3763) (dc5a0f5)Features
Node
objects in line with ESTree (#3771) (dd14064)object
fromban-types
' default types (#3818) (ae3fa90)no-unused-vars-experimental
(79ae03b)ban-types
] removeobject
from default options ([ae3fa900d5b4e1f557a52ca58d35a7d098d9efafmeta.docs.category
from rules (#3800) (71c9370)TSParenthesizedType
(#3340) (c8ee432), closes #3136PrivateIdentifier
(#3808) (0eefe5e), closes #3430 #2933isNodeOfTypes
out ofast-utils
'predicates
(#3836) (0cc509b)useJSXTextNode
option (#3109) (5b84b98)getComments
fromESLint
SourceCode
types (#3766) (165a507)Version 5.0.0 of @typescript-eslint/parser was just published.
The version(
5.0.0
) is not covered by your current version range(^4.6.0
).Release Notes
v5.0.0
5.0.0 (2021-10-11)
Breaking Release Notes
All Packages
Drop support for Node v10 - required node version is now
^12.22.0 || ^14.17.0 || >=16.0.0
.Drop Support for ESLint v5
ESLint-Plugin
[ban-types] remove
object
from the default ban list[comma-dangle] align schema with ESLint v8
[member-ordering] add support for getters and setters
[no-unused-vars-experimental] rule has been deleted
@typescript-eslint/no-unused-vars
instead! It has had full and awesome support for TypeScript since v4.9.0 - and it doesn't require type information!Experimental-Utils:
Remove
SourceCode#getComments
API from ESLint types.Support ESLint v8:
CLIEngine
is now conditionallyundefined
. It was deprecated in v7 and removed in v8. If you're still using it, you should upgrade to theESLint
API.meta.docs.category
. ESLint has removed this from their core rules as it wasn't ever very useful and was always poorly done. We have followed suit and removed it from our types and our rules.TypeScript-ESTree / AST-Spec
Change
.source
ofExportNamedDeclaration
,ExportAllDeclaration
andImportDeclaration
toStringLiteral
and add parse-time errors.Remove
TSParenthesizedType
node.Remove legacy option
useJSXTextNode
.JSXText
- so you should be using that too.Align class features AST with ESTree. This aligns with ESLint v8.
ClassProperty
is now calledPropertyDefinition
TSAbstractClassProperty
is now calledTSAbstractPropertyDefinition
TSAbstractPropertyDefinition.value
is now alwaysnull
.Add full support for
PrivateIdentifier
(#private
class members)#private
members.LineAndColumnData
toPosition
(aligns naming with the ESTree spec docs)Scope-Manager
Class properties with values now create a
'class-field-initializer'
type scope around their value.eslint-scope
v6.Raw Changelog
Bug Fixes
TSAbstractPropertyDefinition
andTSAbstractMethodDefinition
properly (#3901) (82016f9)isSetter
's return type (#3975) (d256856)source
of ExportNamedDeclaration to Literal from Expression (#3763) (dc5a0f5)Features
Node
objects in line with ESTree (#3771) (dd14064)object
fromban-types
' default types (#3818) (ae3fa90)no-unused-vars-experimental
(79ae03b)ban-types
] removeobject
from default options ([ae3fa900d5b4e1f557a52ca58d35a7d098d9efafmeta.docs.category
from rules (#3800) (71c9370)TSParenthesizedType
(#3340) (c8ee432), closes #3136PrivateIdentifier
(#3808) (0eefe5e), closes #3430 #2933isNodeOfTypes
out ofast-utils
'predicates
(#3836) (0cc509b)useJSXTextNode
option (#3109) (5b84b98)getComments
fromESLint
SourceCode
types (#3766) (165a507)Powered by hothouse 馃悵