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:
7.6.0
->7.32.0
14.2.0
->14.2.1
2.22.0
->2.28.0
Release Notes
eslint/eslint (eslint)
v7.32.0
Compare Source
v7.31.0
Compare Source
v7.30.0
Compare Source
v7.29.0
Compare Source
v7.28.0
Compare Source
v7.27.0
Compare Source
v7.26.0
Compare Source
v7.25.0
Compare Source
v7.24.0
Compare Source
v7.23.0
Compare Source
v7.22.0
Compare Source
v7.21.0
Compare Source
v7.20.0
Compare Source
v7.19.0
Compare Source
v7.18.0
Compare Source
v7.17.0
Compare Source
v7.16.0
Compare Source
v7.15.0
Compare Source
v7.14.0
Compare Source
5f09073
Update: fix 'skip' options in no-irregular-whitespace (fixes #13852) (#13853) (Milos Djermanovic)1861b40
Docs: correct the function-call-argument-newline 'default' descriptions (#13866) (Trevin Hofmann)98c00c4
New: Add no-nonoctal-decimal-escape rule (fixes #13765) (#13845) (Milos Djermanovic)95d2fe6
Chore: remove eslint comment from no-octal-escape tests (#13846) (Milos Djermanovic)2004b7e
Fix: enable debug logs for @eslint/eslintrc (fixes #13850) (#13861) (Milos Djermanovic)d2239a1
Fix: no-useless-constructor crash on bodyless constructor (fixes #13830) (#13842) (Ari Perkkiö)eda0aa1
Docs: no-restricted-imports is only for static imports (#13863) (Robat Williams)042ae44
Docs: Fix JS syntax and doc URL in working-with-custom-formatters.md (#13828) (Raphael LANG)038dc73
Chore: Test on Node.js 15 (#13844) (Brandon Mills)37a06d6
Sponsors: Sync README with website (ESLint Jenkins)v7.13.0
Compare Source
254e00f
New: Configurable List Size For Per-Rule Performance Metrics (#13812) (Bryan Mishkin)6c3c710
Docs: fix broken url in docs (#13815) (SaintMalik)4a09149
Sponsors: Sync README with website (ESLint Jenkins)fb6fcbf
Docs: Fix reference to Code of Conduct (#13797) (Tobias Nießen)1b89ebe
Sponsors: Sync README with website (ESLint Jenkins)v7.12.1
Compare Source
08f33e8
Upgrade: @eslint/eslintrc to fix rule schema validation (fixes #13793) (#13794) (Brandon Mills)aeef485
Fix: Pass internal config paths in FileEnumerator default (fixes #13789) (#13792) (Brandon Mills)631ae8b
Sponsors: Sync README with website (ESLint Jenkins)v7.12.0
Compare Source
cbf3585
Update: skip keyword check for fns in space-before-blocks (fixes #13553) (#13712) (Milos Djermanovic)256f656
Fix: autofix shouldn't produce template literals with\8
or\9
(#13737) (Milos Djermanovic)b165aa5
Fix: yoda rule autofix produces syntax errors with adjacent tokens (#13760) (Milos Djermanovic)3175316
Fix: prefer-destructuring invalid autofix with comma operator (#13761) (Milos Djermanovic)1a9f171
Chore: Remove more ESLintRC-related files (refs #13481) (#13762) (Nicholas C. Zakas)bfddced
Update: remove suggestion if it didn't provide a fix (fixes #13723) (#13772) (Milos Djermanovic)5183b14
Update: check template literal in no-script-url (#13775) (YeonJuan)bfe97d2
Sponsors: Sync README with website (ESLint Jenkins)6c51ade
Sponsors: Sync README with website (ESLint Jenkins)603de04
Update: treat all literals like boolean literal in no-constant-condition (#13245) (Zen)289aa6f
Sponsors: Sync README with website (ESLint Jenkins)9a1f669
Sponsors: Sync README with website (ESLint Jenkins)637f818
Docs: add more examples for no-func-assign (fixes #13705) (#13777) (Nitin Kumar)17cc0dd
Chore: add test case for no-func-assign (refs #13705) (#13783) (Nitin Kumar)dee0f77
Docs: add TOC to user-guide/configuring.md (#13727) (metasean)0510621
Update: Fix && vs || short-circuiting false negatives (fixes #13634) (#13769) (Brandon Mills)8b6ed69
Sponsors: Sync README with website (ESLint Jenkins)1457509
Docs: fix broken links in Node.js API docs (#13771) (Laura Barluzzi)7c813d4
Docs: Fix typo in v7 migration page (#13778) (Yusuke Sasaki)b025795
Docs: Fix the format option name in the document (#13770) (Hideki Igarashi)84fd591
Chore: Increase Mocha timeout for copying fixtures (#13768) (Brandon Mills)1faeb84
Docs: clarify that space-unary-ops doesn't apply when space is required (#13767) (Taylor Morgan)67c0605
Update: check computed keys in no-prototype-builtins (fixes #13088) (#13755) (Milos Djermanovic)b5e011c
Sponsors: Sync README with website (ESLint Jenkins)v7.11.0
Compare Source
23e966f
Chore: Refactor CLIEngine tests (refs #13481) (#13709) (Nicholas C. Zakas)fa9429a
Fix: don't count line after EOF in max-lines (#13735) (Milos Djermanovic)d973675
Docs: Update anchor links to use existing linkrefs (refs #13715) (#13741) (Brandon Mills)2c6d774
Docs: Fix typos (#13730) (Frieder Bluemle)cc468c0
Upgrade: [email protected] (#13732) (Milos Djermanovic)ab0ac6c
Docs: Fix anchor links (#13715) (Gary Moore)27f0de6
Fix: account for linebreaks before postfix++
/--
in no-extra-parens (#13731) (Milos Djermanovic)da78fa1
Update: support async arrow fn in function-paren-newline (fixes #13728) (#13729) (Michal Dziekonski)fe301b8
Docs: Add configuration comments in examples (#13738) (YeonJuan)504408c
Sponsors: Sync README with website (ESLint Jenkins)3900659
Sponsors: Sync README with website (ESLint Jenkins)c1974b3
Sponsors: Sync README with website (ESLint Jenkins)6f4abe5
Sponsors: Sync README with website (ESLint Jenkins)v7.10.0
Compare Source
6919fbb
Docs: Clarify that ignorePattern should be a string (refs #13029) (#13718) (Brandon Mills)07d9bea
Update: Add ignorePattern to no-inline-comments (#13029) (Edie Lemoine)d79bbe9
Docs: fix typo (#13717) (Alexander Liu)9b8490e
Docs: grammatical error (#13687) (rajdeep)cb44e93
Fix: prefer-destructuring invalid autofix with computed property access (#13704) (Milos Djermanovic)46c73b1
Upgrade: [email protected] (#13716) (Milos Djermanovic)b7b12ba
Chore: Move comment to make tests more organized (#13707) (Yusuke Tanaka)51674a4
Docs: Add missing quotes (#13714) (Lucio Paiva)7c34a98
Chore: remove mistakenly added file (#13710) (Milos Djermanovic)30b76c9
Docs: Clarify package.json requirement in Getting Started (refs #13549) (#13696) (Nicholas C. Zakas)044560d
Sponsors: Sync README with website (ESLint Jenkins)54000d1
Sponsors: Sync README with website (ESLint Jenkins)v7.9.0
Compare Source
3ca2700
Fix: Corrected notice for invalid (:) plugin names (#13473) (Josh Goldberg)fc5783d
Docs: Fix leaky anchors in v4 migration page (#13635) (Timo Tijhof)f1d07f1
Docs: Provide install commands for Yarn (#13661) (Nikita Baksalyar)29d1cdc
Fix: prefer-destructuring removes comments (refs #13678) (#13682) (Milos Djermanovic)b4da0a7
Docs: fix typo in working with plugins docs (#13683) (啸生)6f87db7
Update: fix id-length false negatives on Object.prototype property names (#13670) (Milos Djermanovic)361ac4d
Fix: NonOctalDecimalIntegerLiteral is decimal integer (fixes #13588) (#13664) (Milos Djermanovic)f260716
Docs: update outdated link (#13677) (klkhan)5138c91
Docs: add missing eslint directive comments in no-await-in-loop (#13673) (Milos Djermanovic)17b58b5
Docs: clarify correct example in no-return-await (fixes #13656) (#13657) (Milos Djermanovic)9171f0a
Chore: fix typo (#13660) (Nitin Kumar)6d9f8fb
Sponsors: Sync README with website (ESLint Jenkins)97b0dd9
Sponsors: Sync README with website (ESLint Jenkins)deab125
Sponsors: Sync README with website (ESLint Jenkins)bf2e367
Sponsors: Sync README with website (ESLint Jenkins)8929208
Sponsors: Sync README with website (ESLint Jenkins)v7.8.1
Compare Source
f542b5d
Fix: Update broken @eslint/eslintrc version (fixes #13641) (#13647) (Nicholas C. Zakas)c1b5696
Sponsors: Sync README with website (ESLint Jenkins)8ddeda0
Sponsors: Sync README with website (ESLint Jenkins)e02e2fe
Sponsors: Sync README with website (ESLint Jenkins)v7.8.0
Compare Source
58abd93
Update: support logical assignments in code path analysis (refs #13569) (#13612) (Milos Djermanovic)db7488e
Update: support logical assignments in core rules (refs #13569) (#13618) (Milos Djermanovic)3729219
Docs: Update Step 1 of Development Environment documentation (klkhan)a320324
Chore: Test formatted integers in no-dupe-keys (refs #13568) (#13626) (Brandon Mills)88a9ade
Update: add es2021 environment (refs #13602) (#13603) (Milos Djermanovic)0003dc0
Update: support numeric separators (refs #13568) (#13581) (Milos Djermanovic)96b11a0
Update: Add exceptionPatterns to id-length rule (fixes #13094) (#13576) (sodam)3439fea
Update: support numeric-separator in no-loss-of-precision (refs #13568) (#13574) (Anix)ed64767
Update: add comment to message in no-warning-comments (fixes #12327) (#13522) (Anix)e60ec07
Sponsors: Sync README with website (ESLint Jenkins)483bf7f
Docs: fix examples in object-curly-newline (#13605) (Soobin Bak)1c35d57
Docs: Remove stale Keybase 2FA instructions (#13622) (Brandon Mills)82669fa
Chore: Extract some functionality to eslintrc (refs #13481) (#13613) (Nicholas C. Zakas)4111d21
Docs: Fix typo and missing article before noun in docs (#13611) (Patrice Sandhu)091e52a
Upgrade: [email protected] (refs #13568) (#13609) (Kai Cataldo)05074fb
Sponsors: Sync README with website (ESLint Jenkins)bdb65ec
Chore: add 3rd party parsers in BUG_REPORT template (#13606) (YeonJuan)f954476
Chore: add common 3rd party parsers to issue template (#13596) (Kai Cataldo)2bee6d2
Chore: Mark config-related files (refs #13481) (#13597) (Nicholas C. Zakas)66442a9
Update: Add no-magic-numbers 'ignoreDefaultValues' option (#12611) (Dieter Luypaert)b487164
Docs: add exponentiation operators to operator-assignment documentation (#13577) (Milos Djermanovic)2f27836
Sponsors: Sync README with website (ESLint Jenkins)60eafc1
Sponsors: Sync README with website (ESLint Jenkins)v7.7.0
Compare Source
b46f3ee
Update: allowFunctionParams option in no-underscore-dangle (fixes 12579) (#13545) (Sunghyun Cho)26aa245
Docs: clarify "case" specifier in padding-line-between-statements (#13562) (Milos Djermanovic)082891c
Docs: Update semantic versioning policy (#13563) (Nicholas C. Zakas)4e0b672
Fix: revert "Update: disallow multiple options in comma-dangle schema" (#13564) (Kai Cataldo)254990e
Fix: indent for async arrow functions (fixes #13497) (#13544) (Anix)28ca339
Sponsors: Sync README with website (ESLint Jenkins)2e4158d
Sponsors: Sync README with website (ESLint Jenkins)488d159
Sponsors: Sync README with website (ESLint Jenkins)c44306e
Sponsors: Sync README with website (ESLint Jenkins)6677180
Sponsors: Sync README with website (ESLint Jenkins)07db7b8
Sponsors: Sync README with website (ESLint Jenkins)d4ce4d3
Sponsors: Sync README with website (ESLint Jenkins)284e954
Sponsors: Sync README with website (ESLint Jenkins)ae9b54e
Sponsors: Sync README with website (ESLint Jenkins)9124a15
Chore: remove leche (fixes #13287) (#13533) (Mark de Dios)5c4c7f5
Sponsors: Sync README with website (ESLint Jenkins)48d8ec8
Sponsors: Sync README with website (ESLint Jenkins)airbnb/javascript (eslint-config-airbnb-base)
v14.2.1
Compare Source
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])v2.27.5
Compare Source
Fixed
order]
: Fix group ranks order when alphabetizing ([#2674], thanks [@Pearce-Ropion])v2.27.4
Compare Source
Fixed
semver
should be a prod dep ([#2668])v2.27.3
Compare Source
Fixed
no-empty-named-blocks
]: rewrite rule to only check import declarations ([#2666])v2.27.2
Compare Source
Fixed
no-duplicates
]: do not unconditionally requiretypescript
([#2665])v2.27.1
Compare Source
Fixed
array.prototype.flatmap
should be a prod dep ([#2664], thanks [@cristobal])v2.27.0
Compare Source
Added
newline-after-import
]: addconsiderComments
option ([#2399], thanks [@pri1311])no-cycle
]: addallowUnsafeDynamicCyclicDependency
option ([#2387], thanks [@GerkinDev])no-restricted-paths
]: support arrays forfrom
andtarget
options ([#2466], thanks [@AdriAt360])no-anonymous-default-export
]: addallowNew
option ([#2505], thanks [@DamienCassou])order
]: AdddistinctGroup
option ([#2395], thanks [@hyperupcall])no-extraneous-dependencies
]: AddincludeInternal
option ([#2541], thanks [@bdwain])no-extraneous-dependencies
]: AddincludeTypes
option ([#2543], thanks [@bdwain])order
]: newalphabetize.orderImportKind
option to sort imports with same path based on their kind (type
,typeof
) ([#2544], thanks [@stropho])consistent-type-specifier-style
]: add rule ([#2473], thanks [@bradzacher])no-empty-named-blocks
] rule ([#2568], thanks [@guilhermelimak])prefer-default-export
]: add "target" option ([#2602], thanks [@azyzz228])no-absolute-path
]: add fixer ([#2613], thanks [@adipascu])no-duplicates
]: support inline type import withinlineTypeImport
option ([#2475], thanks [@snewcomer])Fixed
order
]: move nested imports closer to main import entry ([#2396], thanks [@pri1311])no-restricted-paths
]: fix an error message ([#2466], thanks [@AdriAt360])no-restricted-paths
]: useMinimatch.match
instead ofminimatch
to comply with Windows Native paths ([#2466], thanks [@AdriAt360])order
]: require with member expression could not be fixed if alphabetize.order was used ([#2490], thanks [@msvab])order
]: leave more space in rankings for consecutive path groups ([#2506], thanks [@Pearce-Ropion])no-cycle
]: add ExportNamedDeclaration statements to dependencies ([#2511], thanks [@BenoitZugmeyer])dynamic-import-chunkname
]: prevent false report on a valid webpack magic comment ([#2330], thanks [@mhmadhamster])export
]: do not error on TS export overloads ([#1590], thanks [@ljharb])no-unresolved
], [extensions
]: ignore type only exports ([#2436], thanks [@Lukas-Kullmann])ExportMap
: add missing param to function ([#2589], thanks [@Fdawgs])no-unused-modules
]:checkPkgFieldObject
filters boolean fields from checks ([#2598], thanks [@mpint])no-cycle
]: accept Flowtypeof
imports, just liketype
([#2608], thanks [@gnprice])no-import-module-exports
]: avoid a false positive for import variables ([#2315], thanks [@BarryThePenguin])Changed
named
]: Run all TypeScript test ([#2427], thanks [@ProdigySim])import/extensions
section ([#2440], thanks [@OutdatedVersion])order
]: use correct default value ([#2392], thanks [@hyperupcall])eslint-import-resolver-typescript
usage ([#2503], thanks [@JounQin])no-cycle
]: Add per-run caching of traversed paths ([#2419], thanks [@nokel81])ExportMap
: add caching after parsing for an ambiguous module ([#2531], thanks [@stenin-nikita])no-useless-path-segments
]: fix paths ([#2424], thanks [@s-h-a-d-o-w])no-cycle
]: add passing test cases ([#2438], thanks [@georeith])no-extraneous-dependencies
] improve performance using cache ([#2374], thanks [@meowtec])CONTRIBUTING.md
: mention inactive PRs ([#2546], thanks [@stropho])no-restricted-paths
]: Tests forimport type
statements ([#2459], thanks [@golergka])no-restricted-paths
]: fix one failingimport type
test case, submitted by [@golergka], thanks [@azyzz228]eslint-doc-generator
to v1.0.0 ([#2605], thanks [@bmish])no-cycle
], [no-internal-modules
], [no-restricted-paths
]: useanyOf
instead ofoneOf
(thanks [@ljharb], [@remcohaszing])v2.26.0
Compare Source
Added
no-named-default
], [no-default-export
], [prefer-default-export
], [no-named-export
], [export
], [named
], [namespace
], [no-unused-modules
]: support arbitrary module namespace names ([#2358], thanks [@sosukesuzuki])no-dynamic-require
]: support dynamic import with espree ([#2371], thanks [@sosukesuzuki])no-relative-packages
]: add fixer ([#2381], thanks [@forivall])Fixed
default
]:typescript-eslint-parser
: avoid a crash on exporting as namespace (thanks [@ljharb])export
]/TypeScript: false positive for typescript namespace merging ([#1964], thanks [@magarcia])no-duplicates
]: ignore duplicate modules in different TypeScript module declarations ([#2378], thanks [@remcohaszing])no-unused-modules
]: avoid a crash when processing re-exports ([#2388], thanks [@ljharb])Changed
no-nodejs-modules
]: add tests for node protocol URL ([#2367], thanks [@sosukesuzuki])default
], [no-anonymous-default-export
], [no-mutable-exports
], [no-named-as-default-member
], [no-named-as-default
]: add tests for arbitrary module namespace names ([#2358], thanks [@sosukesuzuki])no-unresolved
]: Fix RegExp escaping in readme ([#2332], thanks [@stephtr])namespace
]: try to improve performance ([#2340], thanks [@ljharb])order
]: TS code examples should use TS code blocks ([#2411], thanks [@MM25Zamanian])no-unresolved
]: fix link ([#2417], thanks [@kylemh])v2.25.4
Compare Source
Fixed
importType
: avoid crashing on a non-string' ([#2305], thanks [@ljharb])first
]: prevent crash when parsing angular templates ([#2210], thanks [@ljharb])importType
: properly resolve@/*
-aliased imports as internal ([#2334], thanks [@ombene])named
]/ExportMap
: handle named imports from CJS modules that use dynamic import ([#2341], thanks [@ludofischer])Changed
no-default-import
]: report on the token "default" instead of the entire node ([#2299], thanks [@pmcelhaney])order
]: Remove duplicate mention of default ([#2280], thanks [@johnthagen])eslint-module-utils
v2.25.3
Compare Source
Fixed
extensions
]: ignore unresolveable type-only imports ([#2270], [#2271], thanks [@jablko])importType
: fixisExternalModule
calculation ([#2282], thanks [@mx-bernhard])no-import-module-exports
]: avoid false positives with a shadowedmodule
orexports
([#2297], thanks [@ljharb])Changed
order
]: add type to the default groups ([#2272], thanks [@charpeni])importType
: combine redundantisScoped
andisScopedModule
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.
👻 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.