This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
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:
8.43.0
->8.46.0
2.27.5
->2.28.0
Release Notes
eslint/eslint (eslint)
v8.46.0
Compare Source
Features
8a93438
feat:require-unicode-regexp
supportv
flag (#17402) (SUZUKI Sosuke)1a2f966
feat:no-useless-escape
supportv
flag (#17420) (Yosuke Ota)ee68d1d
feat:no-empty-character-class
supportv
flag (#17419) (Milos Djermanovic)853d32b
feat: deprecate no-return-await (#17417) (Carlos Lopez)d4f02e4
feat:no-control-regex
supportv
flag (#17405) (Yosuke Ota)2a35f3e
feat:prefer-named-capture-group
supportv
flag (#17409) (Yosuke Ota)8ca8b50
feat: Better error message for flat config plugins (#17399) (Nicholas C. Zakas)509f753
feat:no-misleading-character-class
supportv
flag (#17406) (Yosuke Ota)3caf514
feat:no-regex-spaces
supportv
flag (#17407) (Yosuke Ota)b7fad2b
feat:prefer-regex-literals
supportv
flag (#17410) (Yosuke Ota)a6a3ad4
feat:no-useless-backreference
supportv
flag (#17408) (Yosuke Ota)94954a7
feat:no-invalid-regexp
supportv
flag (#17404) (Yosuke Ota)1af6eac
feat: adds option for allowing empty object patterns as parameter (#17365) (Tanuj Kanti)cf03104
feat: Improve config error messages (#17385) (Nicholas C. Zakas)Bug Fixes
9803c7c
fix: FlatESLint#getRulesMetaForResults shouldn't throw on unknown rules (#17393) (Milos Djermanovic)42faa17
fix: Update no-loop-func to not overlap with no-undef (#17358) (Matt Wilkinson)Documentation
4d474e3
docs: update with TypeScript info (#17423) (James)091f44e
docs: File extension named processor deprecation (#17362) (Matt Wilkinson)9254a6c
docs: Update README (GitHub Actions Bot)6d6dc51
docs: fix overlapping ofopen in playground
button (#17403) (Tanuj Kanti)7fc3a2c
docs: Add private class features info to no-underscore-dangle (#17386) (Matt Wilkinson)da73e58
docs: Migratingeslint-env
configuration comments (#17390) (Francesco Trotta)80dffed
docs: fix Ignoring Files section in config migration guide (#17392) (Milos Djermanovic)8a9abb7
docs: Update README (GitHub Actions Bot)7e9be4b
docs: Update README (GitHub Actions Bot)0b0bbe0
docs: Update README (GitHub Actions Bot)Chores
d1eb7e4
chore: Update ecosystem dependencies (#17427) (Nicholas C. Zakas)fab9e97
chore: package.json update for eslint-config-eslint release (ESLint Jenkins)6246711
chore: package.json update for @eslint/js release (ESLint Jenkins)0aa0bc3
chore: Add PRs to triage project (#17421) (Nicholas C. Zakas)v8.45.0
Compare Source
Features
cdd063c
feat: Expose LegacyESLint in unsupported API (#17341) (Nicholas C. Zakas)d34abe5
feat: fix indent rule for else-if (#17318) (Milos Djermanovic)Bug Fixes
b79b6fb
fix: Fix suggestion message inno-useless-escape
(#17339) (Francesco Trotta)c667055
fix: provide uniquefix
andfix.range
objects in lint messages (#17332) (Milos Djermanovic)Documentation
89f3225
docs: add playground links to correct and incorrect code blocks (#17306) (Josh Goldberg ✨)f8892b5
docs: Expand rule option schema docs (#17198) (Matt Wilkinson)8bcbf11
docs: Config Migration Guide (#17230) (Ben Perlmutter)bb30908
docs: Update README (GitHub Actions Bot)84d243b
docs: Update README (GitHub Actions Bot)b762632
docs: Update README (GitHub Actions Bot)138c096
docs: add more prefer-destructuring examples with array destructuring (#17330) (Milos Djermanovic)1fc50a8
docs:max-len
rulecode
andtabWidth
as positional arguments (#17331) (Jesús Leganés-Combarro)Chores
68f63d7
chore: package.json update for @eslint/js release (ESLint Jenkins)5ca9b4d
chore: update eslint-config-eslint exports (#17336) (Milos Djermanovic)7bf2e86
chore: remove unused dependencies (#17352) (Percy Ma)c6f8cd0
chore: RemovedefaultIgnores
from FlatESLint private members (#17349) (Francesco Trotta)0052374
chore: move jsdoc settings to eslint-config-eslint (#17338) (唯然)v8.44.0
Compare Source
Features
1766771
feat: addes2023
andes2024
environments (#17328) (Milos Djermanovic)4c50400
feat: addecmaVersion: 2024
, regexpv
flag parsing (#17324) (Milos Djermanovic)4d411e4
feat: add ternaryOperandBinaryExpressions option to no-extra-parens rule (#17270) (Percy Ma)c8b1f4d
feat: MoveparserServices
toSourceCode
(#17311) (Milos Djermanovic)ef6e24e
feat: treat unknown nodes as having the lowest precedence (#17302) (Brad Zacher)1866e1d
feat: allow flat config files to export a Promise (#17301) (Milos Djermanovic)Bug Fixes
a36bcb6
fix: no-unused-vars false positive with logical assignment operators (#17320) (Gweesin Chan)7620b89
fix: Removeno-unused-labels
autofix before potential directives (#17314) (Francesco Trotta)391ed38
fix: Removeno-extra-semi
autofix before potential directives (#17297) (Francesco Trotta)Documentation
526e911
docs: resubmit pr 17115 doc changes (#17291) (唯然)e1314bf
docs: Integration section and tutorial (#17132) (Ben Perlmutter)19a8c5d
docs: Update README (GitHub Actions Bot)Chores
49e46ed
chore: upgrade @eslint/js@8.44.0 (#17329) (Milos Djermanovic)a1cb642
chore: package.json update for @eslint/js release (ESLint Jenkins)840a264
test: More test cases for no-case-declarations (#17315) (Elian Cordoba)e6e74f9
chore: package.json update for eslint-config-eslint release (ESLint Jenkins)eb3d794
chore: upgrade [email protected] (#17323) (Ziyad El Abid)cf88439
chore: upgrade [email protected] (#17319) (Milos Djermanovic)9718a97
refactor: remove unnecessary code inflat-eslint.js
(#17308) (Milos Djermanovic)f82e56e
perf: various performance improvements (#17135) (moonlightaria)da81e66
chore: update eslint-plugin-jsdoc to 46.2.5 (#17245) (唯然)b991640
chore: switch eslint-config-eslint to the flat format (#17247) (唯然)import-js/eslint-plugin-import (eslint-plugin-import)
v2.28.0
Compare Source
Fixed
no-duplicates
]: remove duplicate identifiers in duplicate imports ([#2577], thanks [@joe-matsec])consistent-type-specifier-style
]: fix accidental removal of comma in certain cases ([#2754], thanks [@bradzacher])ExportMap
: ImproveExportMap.for
performance on larger codebases ([#2756], thanks [@leipert])no-extraneous-dependencies
]/TypeScript: do not error when importing inline type from dev dependencies ([#1820], thanks [@andyogo])newline-after-import
]/TypeScript: do not error when re-exporting a namespaced import ([#2832], thanks [@laurens-dg])order
]: partial fix for [#2687] (thanks [@ljharb])no-duplicates
]: Detect across type and regular imports ([#2835], thanks [@benkrejci])extensions
]: handle.
and..
properly ([#2778], thanks [@benasher44])no-unused-modules
]: improve schema (thanks [@ljharb])no-unused-modules
]: report error on binding instead of parent export ([#2842], thanks [@Chamion])Changed
no-duplicates
]: fix example schema ([#2684], thanks [@simmo])group-exports
]: fix syntax highlighting ([#2699], thanks [@devinrhode2])extensions
]: reference node ESM behavior ([#2748], thanks [@xM8WVqaG])exports-last
]: usearray.prototype.findlastindex
(thanks [@ljharb])no-anonymous-default-export
]: useobject.fromentries
(thanks [@ljharb])no-unused-modules
]: usearray.prototype.flatmap
(thanks [@ljharb])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 has been generated by Mend Renovate. View repository job log here.