build(deps): update dependency @softwareventures/eslint-config to v9 (main) #102
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:
4.3.5
->9.1.1
Release Notes
softwareventures/eslint-config (@softwareventures/eslint-config)
v9.1.1
Compare Source
Bug Fixes
v9.1.0
Compare Source
Features
v9.0.0
Compare Source
⚠ BREAKING CHANGES
dependency on @typescript-eslint/eslint-plugin
v8 and @typescript-eslint/eslint-parser v8.
Features
Bug Fixes
v8.1.0
Compare Source
Features
v8.0.0
Compare Source
⚠ BREAKING CHANGES
supported.
v8 are no longer supported.
earlier than v7 are no longer supported.
Features
Object
(d28f8c8)Bug Fixes
Function
(54c59a0)v7.9.0
Compare Source
Features
v7.8.1
Compare Source
Bug Fixes
v7.8.0
Compare Source
Features
v7.7.0
Compare Source
Features
v7.6.0
Compare Source
Features
v7.5.0
Compare Source
Features
v7.4.1
Compare Source
Bug Fixes
Function
(b2159a5)Reverts
Function
with a suggestion instead" (5eadcc1)Object
" (1ce6af8)v7.4.0
Compare Source
Features
v7.3.0
Compare Source
Features
v7.2.0
Compare Source
Features
NonNullable<unknown>
to suggestions (792b7a0)Object
(2e9b565){}
as a banned type (1eefd2e)Bug Fixes
Function
with a suggestion instead (d2a39fa)void
as type ofthis
parameter (a85401c)v7.1.5
Compare Source
Bug Fixes
v7.1.4
Compare Source
Bug Fixes
v7.1.3
Compare Source
Bug Fixes
v7.1.2
Compare Source
Bug Fixes
v7.1.1
Compare Source
v7.1.0
Compare Source
Features
{}
andObject
types (d11f27e)v7.0.1
Compare Source
Bug Fixes
v7.0.0
Compare Source
⚠ BREAKING CHANGES
Features
Bug Fixes
v6.1.0
Compare Source
Features
{}
andObject
types (fed9899)v6.0.1
Compare Source
6.0.1 (2022-10-12)
Bug Fixes
v6.0.0
Compare Source
⚠ BREAKING CHANGES
@typescript-eslint/parser, eslint-config-prettier, eslint-plugin-import, eslint-plugin-jsdoc,
eslint-plugin-prefer-arrow, and eslint-plugin-sonarjs. This is required for compatibility with
consuming projects that use yarn PNP.
Bug Fixes
v5.2.0
Compare Source
Features
{}
andObject
types (4d802b4)v5.1.6
Compare Source
Bug Fixes
v5.1.5
Compare Source
Bug Fixes
v5.1.4
Compare Source
Bug Fixes
v5.1.3
Compare Source
Bug Fixes
v5.1.2
Compare Source
Bug Fixes
v5.1.1
Compare Source
Bug Fixes
v5.1.0
Compare Source
Features
v5.0.1
Compare Source
v5.0.0
Compare Source
Bug Fixes
Features
any
type (5864f89)any
type in catch clause (249eb6f)this
keyword outside classes or class-like objects (e44f9c0)void
type outside generic or return types (7046a8b)__iterator__
extension (db2c93e)!
(2038b6c)\8
and\9
escape sequences in strings (b140eef)any
to a function that expects a specific type (1196da3)any
to a variable with a specific type (42d9e96)any
(71cba5b)any
from a function that declares a specific type (e7daa78)function.call()
and.apply()
(abf826b)var
in plain JavaScript (c1ebd98)const
if they are not reassigned (7f2f62d)RegExp
constructor (cd5d112)arguments
in favour of rest params (44a7db7)this
are typed asthis
(5d16a78)function.apply()
where spread params could be used (2e106ff)u
flag (605cb8f)"use strict"
directive where it is not already implied (00c2199)BREAKING CHANGES
https://github.com/eslint/eslint/releases/v8.0.0
breaking changes, see https://github.com/gajus/eslint-plugin-jsdoc/releases/v37.0.0
function.apply()
in caseswhere the spread operator could be used instead.
arguments
variable. Userest params instead.
binary, octal or hexadecimal. Use a binary, octal or hexadecimal literal instead.
let
if itis never reassigned. Use
const
instead.var
to declare variables is now considered an error in plain JS. Uselet
or
const
instead.considered an error if the new name is the same as the old name.
Math.pow
function is now disallowed in favour of the exponentiationoperator
**
.be used instead.
"use strict"
directive in contexts where it is notimplied. In contexts such as ESM and TypeScript where
"use strict"
is implied, explicit use of"use strict"
is disallowed.u
flag.RegExp
constructor with a string literal or regexp literal as itsargument is now disallowed. Use a regexp literal directly instead.
Error
to thereject
function of a Promise executor.Combine the literals into one string.
function.call()
and.apply()
is now disallowed in cases where thefunction could just be called directly.
portions of a
for
statement.sequences instead.
\8
and\9
are no longer allowed in strings. Writejust
8
or9
instead.no-lone-blocks.
__iterator__
is now disallowed.this
keyword is no longer allowed outside classes or class-likeobjects. See no-invalid-this.
no-implicit-coercion.
Array or Object.
returns an explicit value, but another does not.
to ensure they return a value. If you don't need to return a value, use forEach instead.
lead to race conditions. See
require-atomic-updates.
no-useless-backreference.
context where undefined is not allowed. See
no-unsafe-optional-chaining.
properties to it. Use an object literal instead.
contents.
return
,break
, orcontinue
statements are now considered an errorin most cases. See
no-redundant-jump.
no-redundant-boolean.
no-inverted-boolean-check.
disallowed.
no-gratuitous-expressions.
not make sense. See
no-collection-size-mischeck.
into a single statement.
=
paired with+
,-
or!
is now disallowed incontexts where the pairing could be confused for
+=
,-=
, or!=
.are known to have no side-effects.
empty.
binary operator where it makes little sense to do so. See
no-identical-expressions.
arguments to a function.
collection that was previously set.
implementation are now considered to be an error.
expressions may not be used the argument of a conditional statement, or as the argument of a boolean
operator.
array.sort()
must now provide a compare function, unless the array is anarray of strings.
startsWith or endsWith functions.
this
must be typed as returningthis
.the constructor.
expressions could be used instead.
nullish coalescing operator
??
instead.includes() could be used instead.
allowed. Use notNull() from @softwareventures/nullable instead.
any
from a function that declares a specific return type is no longerallowed. Cast the value to
unknown
and narrow its type using type guards instead.any
types is no longer allowed. Cast the value tounknown
andnarrow its type using type guards instead.
any
to a variable with a specific type is no longer allowed. Cast thevalue to
unknown
and then narrow its type using type guards instead.any
to a function that expects a specific type is no longer allowed.Cast the value to
unknown
and then narrow its type using type guards instead.unknown
are no longer allowed. These areuseless and can be omitted.
allowed.
longer allowed.
scope declared with
var
, or variables declared withlet
orvar
from any parent scope where thevariable is modified inside or outside the loop. Such code is unlikely to behave as the author
intended and is usually indicative of an error.
void
is no longer allowed except as a function return type or asa generic type parameter. Outside of these contexts,
undefined
is more appropriate.any
type in a catch clause is no longer allowed. This is the defaulttype for the catch clause variable, and the only other permissible type is
unknown
, so catchclause variables must be explicitly typed as
unknown
. The error can then be handled by narrowingthe type using type guards.
any
type is no longer allowed. Use the actual type if possible, or useunknown
in combination with type guards if not.be returned from a function, assigned to a variable, or passed as a parameter, unless explicitly
marked as void using the
void
operator to make the intent clear. Seeno-confusing-void-expressions
for rationale.
!
is now disallowed. Use optional chaining?.
orthe
notNull()
assertion from @softwareventures/nullable instead.disallowed.
members must be named in camelCase. Types must be named in PascalCase. Property and method names
should be in camelCase but are not enforced because that would prevent the use of many third-party
libraries.
method-signature-style
rule is now enforced with option
"property"
. Method signatures must be expressed as propertieswith function types, instead of using method syntax. This style enables more correct typechecking.
See the documentation of the rule for more.
types are disallowed. See
consistent-type-imports.
The rule is enforced with its default settings.
consistent-type-definitions
is now enforced. "interface" is preferred over "type" wherever possible.
consistent-type-assertions
is now enforced, with configuration
{{assertionStyle: "as", objectLiteralTypeAssertions: "never"}
.no-irregular-whitespace rule is now
enforced for string literals as well as in all other contexts (
skipStrings: false
). If you needirregular whitespace characters in a string literal, use a Unicode escape instead.
{}
is now disallowed by the ban-types rule.ban-tslint-comment
rule is now enforced.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.