-
-
Notifications
You must be signed in to change notification settings - Fork 46
Update eslint to v61 (major) #607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/major-eslint
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d4fd85b
to
e72f055
Compare
49de4a2
to
9d29c75
Compare
9d29c75
to
1d1245f
Compare
2e7ff50
to
14838ca
Compare
0d6d67e
to
c2f89e0
Compare
c806dc2
to
b85a6c1
Compare
afab769
to
04c4c30
Compare
541ce0f
to
d9e09a0
Compare
bb8fdc1
to
8730b21
Compare
8730b21
to
8f0fba0
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
52.0.4
->61.1.4
60.0.0
->61.0.2
Release Notes
gajus/eslint-plugin-jsdoc (eslint-plugin-jsdoc)
v61.1.4
Compare Source
v61.1.3
Compare Source
Bug Fixes
prefer-import-tag
: ensure import is a valid identifier; fixes #1572 (4349209)v61.1.2
Compare Source
Bug Fixes
no-undefined-types
: allow global prefixes; fixes #1566 (335450a)v61.1.1
Compare Source
Bug Fixes
valid-types
: reallowconst
type
(75c8127)v61.1.0
Compare Source
Features
ts-method-signature-style
: add new rule (92bf39e)ts-no-empty-object-type
: new rule to prevent empty objects (a19af97)ts-no-unnecessary-template-expression
: create new rule to catch extra markup within template types (64082aa)ts-prefer-function-type
: add new rule (cbda8aa)v61.0.1
Compare Source
Bug Fixes
require-yields-*
,require-throws-*
: ensure alias of throws (exception) and of yields (yield) are checked; fixes #1559 (#1560) (38770c4)v61.0.0
Compare Source
Features
type-formatting
:keyValuePostColonSpacing
,keyValuePostKeySpacing
,keyValuePostOptionalSpacing
,keyValuePostVariadicSpacing
for key-value pairs (and object fields) (ecf3a4a)type-formatting
: addgenericAndTupleElementSpacing
option for tuples and generics (2735b6d)type-formatting
: addparameterDefaultValueSpacing
for type parameter spacing (b8eeca8)type-formatting
: add spacing for functions/classes and method quotes (a361dc9)type-formatting
: changestringQuotes
default todouble
; fixes #1556 (0837647)BREAKING CHANGES
type-formatting
: SetstringQuotes
option tosingle
to restore old behaviorv60.8.3
Compare Source
Bug Fixes
valid-types
: ensure safe for class context (this keyword) (87464a6)valid-types
: re-allow namepaths in name-definers like typedef in non-typescript mode; fixes #1557 (680cf1d)v60.8.2
Compare Source
Bug Fixes
no-undefined-types
: do not treat type parameters or their references as undefined; #1215 (#1553) (a5a0a3c)v60.8.1
Compare Source
Bug Fixes
valid-types
: parse distinctly for names vs. namepaths (#1552) (6efd9e9)v60.8.0
Compare Source
Features
name-defining
role for likes oftypedef
as distinct from likes ofparam
(#1551) (e67e474)v60.7.1
Compare Source
Bug Fixes
prefer-import-tag
: handle other cases of comments before structures early in the document; fixes #1549 (622b17e)v60.7.0
Compare Source
Bug Fixes
prefer-import-tag
: handle inserting before early comment nodes; fixes #1549 (9e92718)Features
require-returns-check
: addnoNativeTypes
option to assert async functions do not have native types as return types; fixes #1345 (13fe027)v60.6.0
Compare Source
Features
escape-inline-tags
: add new rule (#1547) (7a6b7db)v60.5.0
Compare Source
Bug Fixes
no-undefined-types
: avoid param and property tags from being treated as type-defining (f72ac1a)Features
check-tag-names
: addinlineTags
option with default inline tag checking (f0515be)require-template-description
: add rule; fixes #1540 (90af18a)v60.4.1
Compare Source
Bug Fixes
v60.4.0
Compare Source
Bug Fixes
Features
flat/recommended-mixed
config; fixes #1101 (68fad5b)v60.3.1
Compare Source
Bug Fixes
getJsdocProcessPlugin
: auto-escape*\/
and entities (#1537) (74186a3), closes #710v60.3.0
Compare Source
Features
no-undefined-types
:checkUsedTypedefs
option; fixes #1165 (#1544) (001c4a9)v60.2.0
Compare Source
Features
prefer-import-tags
: add new rule; fixes #1314 (#1536) (376d583)v60.1.1
Compare Source
Bug Fixes
reject-any-type
,reject-function-type
: prevent object replacement as withcheck-types
; fixes #1538 (#1539) (0c4c654)v60.1.0
Compare Source
Features
tag-lines
:maxBlockLines
option; fixes #1346 (#1532) (751428c)v60.0.0
Compare Source
Bug Fixes
require-tags
: change rule name to be consistent with other rules (#1535) (70c1b2e)BREAKING CHANGES
require-tags
: Changesrequired-tags
torequire-tags
.v59.1.0
Compare Source
Features
required-tags
: add new rule; fixes #1235 (47299db)v59.0.2
Compare Source
Bug Fixes
v59.0.1
Compare Source
Bug Fixes
require-yields-description
,require-next-description
: handle multiline descriptions; fixes #1528 (2544b12)check-examples
(9a2763b)v59.0.0
Compare Source
Bug Fixes
require-yields-check
: removeexemptedBy
option (7209fe0)Features
require-next-description
,require-throws-decription
,require-yields-description
: add rules; fixes #1526 (214a5f2)BREAKING CHANGES
require-yields-check
: RemovesexemptedBy
fromrequire-yields-check
. Should not be needed.Also:
v58.1.1
Compare Source
Bug Fixes
type-formatting
: removepropertyIndent
option; fixes #1524 (#1525) (1cf93b5)v58.1.0
Compare Source
Features
require-param
: addinterfaceExemptsParamsCheck
option; fixes #1511 (#1521) (a3bb85e)v58.0.0
Compare Source
Bug Fixes
Features
reject-any-type
andreject-function-type
rules andextraRuleDefinitions.preferTypes
option (ae4e95d)BREAKING CHANGES
recommended
configsv57.2.1
Compare Source
Bug Fixes
v57.2.0
Compare Source
Features
check-types
: deprecateunifyParentAndChildTypeChecks
option in favor of newunifyParentAndChildTypeChecks
preferredTypes[preferredType] setting (#1517) (224bbe6)v57.1.1
Compare Source
Bug Fixes
v57.1.0
Compare Source
Features
type-formatting
: newobjectFieldSeparatorOptionalLinebreak
option (#1514) (6b20133)v57.0.10
Compare Source
Bug Fixes
type-formatting
: allow for $, _, and ZWNJ's without quoting (#1513) (dd0950b)v57.0.9
Compare Source
Bug Fixes
type-formatting
: do not strip quotes forobjectFieldQuote
when not an ID; always allow unescaped digits (d53884a)v57.0.8
Compare Source
Bug Fixes
v57.0.7
Compare Source
Bug Fixes
v57.0.6
Compare Source
Bug Fixes
examples
configs: disable@typescript-eslint/no-unsed-vars
(#1507) (34e5910)v57.0.5
Compare Source
Bug Fixes
index.configs
type (#1505) (f019adf)v57.0.4
Compare Source
Bug Fixes
jsdoc/examples/rules
andjsdoc/default-expressions/rules
configs: add @stylistic, @typescript-eslint, and eslint-plulgin-n equivalents to default disabled rules (#1504) (ab14982)v57.0.3
Compare Source
Bug Fixes
valid-types
: avoid reporting fornext
(handled by own rule) (#1503) (76b8406)v57.0.2
Compare Source
Bug Fixes
extraRuleDefinitions.forbid
jsdoc function option: point default link to advanced page (#1502) (91f1c30)v57.0.1
Compare Source
Bug Fixes
require-next-type
,require-throws-type
,require-yields-type
: fix URL; fixes #1500 (#1501) (33a4529)v57.0.0
Compare Source
Features
extraRuleDefinitions.forbid
option to jsdoc function (9f50083)require-next-type
,require-throws-type
,require-yields-type
: adds new rules and adds to recommended and required configs; fixes #1461 (0645428)BREAKING CHANGES
require-next-type
,require-throws-type
,require-yields-type
: It is unlikely to affect users but when using the jsdoc constructor with a recommended config , this commit removesthrows
andyields
from the
structuredTags
settings recently added to the config output to require types for these tags in favor of the herein added equivalentrecommended rules. (
next
is still part ofstructuredTags
output, however, because this setting ensures the non-standard next tag is treatedas allowable without need for separate configuration.)
Also:
v56.1.2
Compare Source
Bug Fixes
iterateJsdoc
export: fix export (#1498) (be2b7ae)v56.1.1
Compare Source
Bug Fixes
iterateJsdoc
export: ensuredefault
has type (#1497) (d5fb1d1)v56.1.0
Compare Source
Features
type-formatting
: addproperty
,this
,throws
, andyields
tags (#1496) (8886628)v56.0.2
Compare Source
Bug Fixes
getJsdocComment
,iterateJsdoc
: fix CJS type declarations (#1493) (5f00672)v56.0.1
Compare Source
Bug Fixes
v56.0.0
Compare Source
Features
BREAKING CHANGES
v55.4.0
Compare Source
Features
type-formatting
: addobjectFieldSeparatorTrailingPunctuation
option; fixes #1430 (5852fd9)type-formatting
: check type and typedef tags and addtypeBracketSpacing
option (77e1691)type-formatting
: enhance error detection and addunionSpacing
option; fixes #1143 (cc7f253)v55.3.0
Compare Source
Features
type-formatting
rule (81cb787)v55.2.0
Compare Source
Features
v55.1.2
Compare Source
Bug Fixes
v55.1.1
Compare Source
Bug Fixes
v55.1.0
Compare Source
Features
v55.0.5
Compare Source
Bug Fixes
v55.0.4
Compare Source
Bug Fixes
v55.0.3
Compare Source
Bug Fixes
v55.0.2
Compare Source
Bug Fixes
v55.0.1
Compare Source
Bug Fixes
v55.0.0
Compare Source
Features
BREAKING CHANGES
import {jsdoc} from 'eslint-plugin-jsdoc'; // A named import now is encouraged
export default [
...jsdoc({config: 'flat/recommended'}); // Now invoke the function to build the config
];
v54.7.0
Compare Source
Features
v54.6.0
Compare Source
Features
v54.5.0
Compare Source
Bug Fixes
require-template
: checkTSDeclareFunction
(including overloads) for templates; fixes #1462 (2693a88)Features
require-jsdoc
,require-param
: update jsdoccomment to disable overload skipping except conditionally for require-jsdoc with new on-by-defaultskipInterveningOverloadedDeclarations
option; fixes #1434 (ed11968), closes #1369require-jsdoc
: addexemptOverloadedImplementations
option (b29bc3a)v54.4.1
Compare Source
Bug Fixes
getJsdocProcessorPlugin
: reenable fixes (but disabling fixers for @example issues); fixes #1431 (#1473) (e45b726)v54.4.0
Compare Source
Features
innerIndent
integer option; fixes #1351 (#1471) (784ce62)v54.3.1
Compare Source
Bug Fixes
check-template-names
,require-template
: ensure template name is based on what is within any brackets and preceding equal sign; fixes #1466 (#1468) (5fbab65)v54.3.0
Compare Source
Features
require-hyphen-before-param-description
: whenalways
is set, disallow hyphen at end of line; fixes #1435 (#1454) (95f3380)v54.2.1
Compare Source
Bug Fixes
valid-types
: try parsing whole item before splitting into commas; fixes #1464 (#1465) (8132392)v54.2.0
Compare Source
Features
require-template
: addexemptedBy
; fixes #1460 (#1463) (09ee4ab)v54.1.1
Compare Source
Bug Fixes
valid-types
: allowextends
for namepath; fixes #1455 (#1456) (3bf911c)v54.1.0
Compare Source
Features
v54.0.0
Compare Source
Bug Fixes
BREAKING CHANGES
This reverts commit
b19f6f9
.v53.0.1
Compare Source
Bug Fixes
no-types
,require-example
,implements-on-classes
: allowany
to match function variable declarations; fixes #1446 (#1448) (0867728)v53.0.0
Compare Source
Bug Fixes
BREAKING CHANGES
Changes
exports
and build routine for proper types.refactor: move to tsdown (take 2)
chore: remove unused devDeps. and fix generateRule script
fix bad rebase
sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)
v61.0.2
Compare Source
throw-new-error
: Fix false positive for Effect library (#2740)0ddf5ea
no-useless-undefined
: IgnoreSet#delete(undefined)
(#2739)99acd27
prefer-includes
andprefer-array-index-of
: Prevent crash on Vue files (#2645)a1da518
v61.0.1
Compare Source
prefer-classlist-toggle
: OmitElement#classList.contains()
call when fixing (#2732)066f96b
v61.0.0
Compare Source
New rules
prefer-bigint-literals
(#2722)1f4cb8a
prefer-classlist-toggle
(#2731)5f27ec2
require-module-attributes
(#2725)5f275e2
no-array-sort
(#2713)b70d1e8
Improvements
unopinionated
config (#2715)c13d09b
60b2ec5
no-array-reduce
: Report optional chaining and calling of.reduce()
(#2721)caa1f8b
prefer-type-error
: Ignore error type check (#2729)d12fc01
Fixes
prefer-includes
: Fix compatibility with Vue SFC (#2704)540a4d4
Configuration
📅 Schedule: Branch creation - At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday ( * 0-4,22-23 * * 1-5 ), Only on Sunday and Saturday ( * * * * 0,6 ) in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.