chore(deps): update eslint dependencies (major) #4
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.
This PR contains the following updates:
^13.3.1
->^14.0.1
^7.17.0
->^8.0.0
^7.17.0
->^8.0.0
^8.57.0
->^9.8.0
Release Notes
Hazmi35/eslint-config (@hazmi35/eslint-config)
v14.0.1
Compare Source
Note
[⚠️ ] THIS IS A CONTINUATION OF A REWORK
For v14:
"eslint.experimental.useFlatConfig": true,
from.vscode/settings.json
because it's not needed anymore.From v13 onwards:
EXPECT THINGS BREAKING!
To migrate to this new version, please see the README for more details.
Full Changelog: Hazmi35/eslint-config@14.0.0...14.0.1
v14.0.0
Compare Source
Note
[⚠️ ] THIS IS A CONTINUATION OF A REWORK
For v14:
"eslint.experimental.useFlatConfig": true,
from.vscode/settings.json
because it's not needed anymore.From v13 onwards:
EXPECT THINGS BREAKING!
To migrate to this new version, please see the README for more details.
Full Changelog: Hazmi35/eslint-config@13.3.1...14.0.0
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v8.0.0
Compare Source
🚀 Features
stricter parent types for the AST
typescript-estree: split TSMappedType typeParameter into constraint and key
eslint-plugin: remove formatting/layout rules
eslint-plugin: [prefer-nullish-coalescing] change ignoreConditionalTests default to true
eslint-plugin: deprecate no-loss-of-precision extension rule
eslint-plugin: [no-unused-vars] align catch behavior to ESLint 9
typescript-estree: rename automaticSingleRunInference to disallowAutomaticSingleRunInference
utils: allow specifying additional rule meta.docs in RuleCreator
eslint-plugin: split no-empty-object-type out from ban-types and no-empty-interfaces
rule-tester: support multipass fixes
typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService
eslint-plugin: remove deprecated no-throw-literal rule
eslint-plugin: apply initial config changes for v8
eslint-plugin: remove no-useless-template-literals
eslint-plugin: [no-floating-promises] add 'allowForKnownSafeCalls' option
eslint-plugin: replace ban-types with no-restricted-types, no-unsafe-function-type, no-wrapper-object-types
eslint-plugin: [no-unused-vars] add
reportUnusedIgnorePattern
optioneslint-plugin: [no-unused-vars] support
ignoreClassWithStaticInitBlock
eslint-plugin: [no-unused-vars] handle comma operator for assignments, treat for-of the same as for-in
eslint-plugin: [no-unused-vars] report if var used only in typeof
eslint-plugin: [no-floating-promises] disable checkThenables by default for v8
rule-tester: switched to flat config
eslint-plugin: [no-unnecessary-type-parameters] promote to strict
🩹 Fixes
correct eslint-plugin's peerDependency on parser@8
disable
projectService
indisabled-type-checked
shared configtypescript-estree: add TSEnumBody node for TSEnumDeclaration body
eslint-plugin: include alpha pre-releases in parser peer dependency
eslint-plugin: correct rules.d.ts types to not rely on non-existent imports
eslint-plugin: remove duplicate import
RuleModuleWithMetaDocs
type-utils: also check declared modules for package names in TypeOrValueSpecifier
eslint-plugin: [no-unnecessary-template-expression] do not render escaped strings in autofixes
eslint-plugin: [no-unused-vars] incorporate upstream changes around caught errors report messages
eslint-plugin: [no-misused-promises] perf: avoid getting types of variables/functions if the annotated type is obviously not a function
rule-tester: provide Linter a cwd in its constructor
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.18.0 (2024-07-29)
🩹 Fixes
eslint-plugin: [no-unnecessary-type-assertion] prevent runtime error when asserting a variable declared in default TS lib
eslint-plugin: [unbound-method] report on destructuring in function parameters
eslint-plugin: [no-duplicate-type-constituents] shouldn't report on error types
eslint-plugin: [strict-boolean-expressions] support branded booleans
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.17.0 (2024-07-22)
🚀 Features
eslint-plugin: backport no-unsafe-function type, no-wrapper-object-types from v8 to v7
eslint-plugin: [return-await] add option to report in error-handling scenarios only, and deprecate "never"
🩹 Fixes
eslint-plugin: [no-floating-promises] check top-level type assertions (and more)
eslint-plugin: [strict-boolean-expressions] consider assertion function argument a boolean context
eslint-plugin: [no-unnecessary-condition] false positive on optional private field
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.16.1 (2024-07-15)
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.16.0 (2024-07-08)
🚀 Features
rule-tester: stricter rule test validations
eslint-plugin: [no-unnecessary-parameter-property-assignment] add new rule
eslint-plugin: add support for nested namespaces to unsafe-member-access
eslint-plugin: [no-floating-promises] add checkThenables option
🩹 Fixes
deps: update dependency @eslint-community/regexpp to v4.11.0
eslint-plugin: [no-floating-promises] add
suggestions
to tests from #9263checkThenables
website: react key error on internal pages of website
eslint-plugin: [restrict-template-expressions] don't report tuples if
allowArray
option is enabled❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.15.0 (2024-07-01)
🚀 Features
eslint-plugin: [array-type] detect
Readonly<string[]>
caseeslint-plugin: back-port new rules around empty object types from v8
🩹 Fixes
disable
EXPERIMENTAL_useProjectService
indisabled-type-checked
shared configeslint-plugin: [no-unsafe-return] differentiate a types-error any from a true any
eslint-plugin: [no-unsafe-call] differentiate a types-error any from a true any
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.14.1 (2024-06-24)
🩹 Fixes
eslint-plugin: [prefer-nullish-coalescing] treat enums and literals as their underlying primitive types
eslint-plugin: [prefer-nullish-coalescing] ensure ternary fix does not remove parens
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.14.0 (2024-06-24)
🚀 Features
🩹 Fixes
eslint-plugin: [no-extraneous-class] handle abstract members
eslint-plugin: [prefer-nullish-coalescing] handle intersected primitive types
eslint-plugin: [no-invalid-this] support AccessorProperty
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.13.1 (2024-06-17)
🩹 Fixes
eslint-plugin: [prefer-readonly] refine report locations
eslint-plugin: [return-await] support explicit resource management
eslint-plugin: [no-unsafe-member-access] differentiate a types-error any from a true any
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.13.0 (2024-06-10)
🚀 Features
typescript-estree: require
import = require()
argument to be a string literaltypescript-estree: forbid
.body
,.async
,.generator
ondeclare function
eslint-plugin: [no-dynamic-delete] allow all string literals as index
🩹 Fixes
ast-spec: function-call-like callee should be Expression not LeftHandSideExpression
scope-manager: handle index signature in class
eslint-plugin: [init-declarations] refine report locations
eslint-plugin: [no-base-to-string] make error message more nuanced
eslint-plugin: [no-unsafe-assignment] be more specific about error types
eslint-plugin: [no-magic-numbers] fix implementation of the
ignore
option❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.12.0 (2024-06-03)
🚀 Features
eslint-plugin: [no-useless-template-literals] rename to
no-useless-template-expression
(deprecateno-useless-template-literals
)rule-tester: check for parsing errors in suggestion fixes
rule-tester: port
checkDuplicateTestCases
from ESLinteslint-plugin: [no-floating-promises] add option 'allowForKnownSafePromises'
🩹 Fixes
no-useless-template-expression -> no-unnecessary-template-expression
eslint-plugin: [no-unnecessary-type-assertion] combine template literal check with
const
variable checkeslint-plugin: [dot-notation] fix false positive when accessing private/protected property with optional chaining
eslint-plugin: [explicit-member-accessibility] refine report locations
eslint-plugin: [no-unnecessary-type-assertion] declares are always defined, so always check
declare
seslint-plugin: [prefer-literal-enum-member] allow using member it self on allowBitwiseExpressions
eslint-plugin: [return-await] clean up in-try-catch detection and make autofixes safe
eslint-plugin: [member-ordering] also TSMethodSignature can be get/set
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.11.0 (2024-05-27)
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.10.0 (2024-05-20)
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.9.0 (2024-05-13)
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.8.0 (2024-04-29)
🩹 Fixes
eslint-plugin: [no-unsafe-argument] handle tagged templates
eslint-plugin: [prefer-optional-chain] suggests optional chaining during strict null equality check
eslint-plugin: [consistent-type-assertions] handle tagged templates
eslint-plugin: [no-unsafe-return] handle union types
eslint-plugin: [no-unused-vars] clear error report range
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.7.1 (2024-04-22)
🩹 Fixes
eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment
eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type
eslint-plugin: [prefer-optional-chain] only look at left operand for
requireNullish
eslint-plugin: [no-for-in-array] refine report location
eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.7.0 (2024-04-15)
🚀 Features
no-new-symbol
withno-new-native-nonconstructor
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.6.0 (2024-04-08)
🚀 Features
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.5.0 (2024-04-01)
🩹 Fixes
eslint-plugin: [no-floating-promises] handle TaggedTemplateExpression
eslint-plugin: [no-unnecessary-type-assertion] handle exactOptionalPropertyTypes compiler option
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.4.0 (2024-03-25)
🚀 Features
eslint-plugin: [consistent-type-imports] ignore files with decorators, experimentalDecorators, and emitDecoratorMetadata
eslint-plugin: [no-unnecessary-type-arguments] handle tagged templates
eslint-plugin: deprecate no-throw-literal and add a renamed only-throw-error
🩹 Fixes
eslint-plugin: [prefer-optional-chain] address multipart nullish checks false positive
eslint-plugin: [prefer-optional-chain] properly disambiguate between
boolean
andfalse
eslint-plugin: [no-unnecessary-type-assertion] avoid remove const casting on template literals with expressions inside
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.3.1 (2024-03-18)
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.3.0 (2024-03-18)
🚀 Features
eslint-plugin: [restrict-template-expressions] add
allowArray
optioneslint-plugin: add meta.docs.recommended setting for strict config options
eslint-plugin: add rule
use-unknown-in-catch-callback-variables
eslint-plugin: [prefer-reduce-type-parameter] supports tuple, union, intersection
🩹 Fixes
correct
engines.node
constraints inpackage.json
eslint-plugin: [unbound-method] check method definition in object literal using longhand form
eslint-plugin: [consistent-type-imports] handle imports without specifiers
eslint-plugin: [no-redundant-type-constituents] incorrectly marks & string as redundant
eslint-plugin: [no-unnecessary-qualifier] handle merge namespace with enum
eslint-plugin: [no-unused-expressions] false negatives when using assertions
eslint-plugin: [ban-ts-comment] more accurate handling of multiline comments
eslint-plugin: [explicit-function-return-type, explicit-module-boundary-types] improved checking for allowHigherOrderFunctions option
eslint-plugin: [class-literal-property-style] ignore property assigned in constructor
eslint-plugin: [no-unnecessary-type-assertion] fix false negative for const variable declarations
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.2.0 (2024-03-11)
🚀 Features
support TS 5.4
eslint-plugin: [prefer-string-starts-ends-with] add allowSingleElementEquality option
🩹 Fixes
eslint-plugin: expose *-type-checked-only configs for extension
eslint-plugin: [member-ordering] report alphabetical sorting for all groups instead of just the first failing group
eslint-plugin: [no-var-requires, no-require-imports] support template literal
eslint-plugin: [no-useless-template-literals] detect TemplateLiteral
eslint-plugin: [no-unnecessary-condition] handle union array and tuple type
eslint-plugin: [prefer-find] support ternary branches in prefer-find
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.1.1 (2024-03-04)
This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.1.0 (2024-02-26)
🚀 Features
eslint-plugin: add *-type-checked-only configs
eslint-plugin: [naming-convention] support the auto-accessor syntax
eslint-plugin: [consistent-return] add new rule
🩹 Fixes
eslint-plugin: [prefer-optional-chan] allow typeof for avoiding reference error
eslint-plugin: [no-misused-promises] improve check union types
eslint-plugin: [no-use-before-define] fix false positive type reference in as, satisfies
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.0.2 (2024-02-19)
🩹 Fixes
@types/eslint
incompatibilities, add tests❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.0.1 (2024-02-12)
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.18.0
Compare Source
🩹 Fixes
eslint-plugin: [no-unnecessary-type-assertion] prevent runtime error when asserting a variable declared in default TS lib
eslint-plugin: [unbound-method] report on destructuring in function parameters
eslint-plugin: [no-duplicate-type-constituents] shouldn't report on error types
eslint-plugin: [strict-boolean-expressions] support branded booleans
❤️ Thank You
You can read about our versioning strategy and releases on our website.
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v8.0.0
Compare Source
🚀 Features
parser: always enable comment, loc, range, tokens
typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.18.0 (2024-07-29)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.17.0 (2024-07-22)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.16.1 (2024-07-15)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.16.0 (2024-07-08)
🩹 Fixes
deps: update dependency @eslint-community/regexpp to v4.11.0
website: react key error on internal pages of website
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.15.0 (2024-07-01)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.14.1 (2024-06-24)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.14.0 (2024-06-24)
🚀 Features
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.13.1 (2024-06-17)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.13.0 (2024-06-10)
🚀 Features
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.12.0 (2024-06-03)
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.11.0 (2024-05-27)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.10.0 (2024-05-20)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.9.0 (2024-05-13)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.8.0 (2024-04-29)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.7.1 (2024-04-22)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.7.0 (2024-04-15)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.6.0 (2024-04-08)
🚀 Features
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.5.0 (2024-04-01)
🩹 Fixes
errorOnTypeScriptSyntacticAndSemanticIssues
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.4.0 (2024-03-25)
🚀 Features
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.3.1 (2024-03-18)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.3.0 (2024-03-18)
🩹 Fixes
engines.node
constraints inpackage.json
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.2.0 (2024-03-11)
🚀 Features
❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.1.1 (2024-03-04)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.1.0 (2024-02-26)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
7.0.2 (2024-02-19)
🩹 Fixes
@types/eslint
incompatibilities, add tests❤️ Thank You
You can read about our versioning strategy and releases on our website.
7.0.1 (2024-02-12)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v7.18.0
Compare Source
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
eslint/eslint (eslint)
v9.8.0
Compare Source
v9.7.0
Compare Source
Features
7bd9839
feat: add support for es2025 duplicate named capturing groups (#18630) (Yosuke Ota)1381394
feat: addregex
option inno-restricted-imports
(#18622) (Nitin Kumar)Bug Fixes
14e9f81
fix: destructuring in catch clause inno-unused-vars
(#18636) (Francesco Trotta)Documentation
9f416db
docs: Add Powered by Algolia label to the search. (#18633) (Amaresh S M)c8d26cb
docs: Open JS Foundation -> OpenJS Foundation (#18649) (Milos Djermanovic)6e79ac7
docs:loadESLint
does not support optioncwd
(#18641) (Francesco Trotta)Chores
793b718
chore: upgrade @eslint/js@9.7.0 (#18680) (Francesco Trotta)7ed6f9a
chore: package.json update for @eslint/js release (Jenkins)7bcda76
refactor: Add type references (#18652) (Nicholas C. Zakas)51bf57c
chore: add tech sponsors through actions (#18624) (Strek)6320732
refactor: don't useparent
property inNodeEventGenerator
(#18653) (Milos Djermanovic)9e6d640
refactor: move "Parsing error" prefix adding to Linter (#18650) (Milos Djermanovic)v9.6.0
Compare Source
v9.5.0
Compare Source
v9.4.0
Compare Source
v9.3.0
Compare Source
v9.2.0
Compare Source
v9.1.1
Compare Source
v9.1.0
Compare Source
v9.0.0
Compare Source
Configuration
📅 Schedule: Branch creation - "before 6am" in timezone Asia/Jakarta, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.