chore(deps): update eslint #147
Open
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.26.0->7.32.04.1.0->4.3.02.23.2->2.32.03.0.1->3.4.1Release Notes
eslint/eslint (eslint)
v7.32.0Compare Source
3c78a7bChore: Adopteslint-plugin/prefer-message-idsrule internally (#14841) (Bryan Mishkin)faecf56Update: change reporting location forcurlyrule (refs #12334) (#14766) (Nitin Kumar)d7dc07aFix: ignore lines with empty elements (fixes #12756) (#14837) (Soufiane Boutahlil)1bfbefdNew: Exit on fatal error (fixes #13711) (#14730) (Antonios Katopodis)ed007c8Chore: Simplify internalno-invalid-metarule (#14842) (Bryan Mishkin)d53d906Docs: Prepare data for website to indicate rules with suggestions (#14830) (Bryan Mishkin)d28f2ffDocs: Reference eslint-config-eslint to avoid potential for staleness (#14805) (Brett Zamir)8be8a36Chore: Adopteslint-plugin/require-meta-docs-urlrule internally (#14823) (Bryan Mishkin)f9c164fDocs: New syntax issue template (#14826) (Nicholas C. Zakas)eba0c45Chore: assertions on reporting loc inunicode-bom(refs #12334) (#14809) (Nitin Kumar)ed945bdDocs: fix multiple broken links (#14833) (Sam Chen)60df44cChore: useactions/setup-node@v2(#14816) (Nitin Kumar)6641d88Docs: Update README team and sponsors (ESLint Jenkins)v7.31.0Compare Source
efdbb12Upgrade: @eslint/eslintrc to v0.4.3 (#14808) (Brandon Mills)a96b05fUpdate: add end location to report inconsistent-return(refs #12334) (#14798) (Nitin Kumar)e0e8e30Docs: update BUG_REPORT template (#14787) (Nitin Kumar)39115c8Docs: provide more context to no-eq-null (#14801) (gfyoung)9a3c73cDocs: fix a broken link (#14790) (Sam Chen)ddffa8aUpdate: Indicating the operator in question (#14764) (Paul Smith)bba714cUpdate: Clarifying what changes need to be made in no-mixed-operators (#14765) (Paul Smith)b0d22e3Docs: Mention benefit of providingmeta.docs.url(#14774) (Bryan Mishkin)000cc79Sponsors: Sync README with website (ESLint Jenkins)a6a7438Chore: pin fs-teardown@0.1.1 (#14771) (Milos Djermanovic)v7.30.0Compare Source
5f74642Chore: don't check Program.start in SourceCode#getComments (refs #14744) (#14748) (Milos Djermanovic)19a871aDocs: Suggest linting plugins for ESLint plugin developers (#14754) (Bryan Mishkin)aa87329Docs: fix broken links (#14756) (Sam Chen)278813aDocs: fix and add more examples for new-cap rule (fixes #12874) (#14725) (Nitin Kumar)ed1da5dUpdate: ecmaVersion allows "latest" (#14720) (薛定谔的猫)104c0b5Update: improve use-isnan rule to detectNumber.NaN(fixes #14715) (#14718) (Nitin Kumar)b08170bUpdate: Implement FlatConfigArray (refs #13481) (#14321) (Nicholas C. Zakas)f113cddChore: upgrade eslint-plugin-eslint-plugin (#14738) (薛定谔的猫)1b8997aDocs: Fix getRulesMetaForResults link syntax (#14723) (Brandon Mills)aada733Docs: fix two broken links (#14726) (Sam Chen)8972529Docs: Update README team and sponsors (ESLint Jenkins)v7.29.0Compare Source
bfbfe5cNew: Add only to RuleTester (refs eslint/rfcs#73) (#14677) (Brandon Mills)c2cd7b4New: Add ESLint#getRulesMetaForResults() (refs #13654) (#14716) (Nicholas C. Zakas)eea7e0dChore: remove duplicate code (#14719) (Nitin Kumar)6a1c7a0Fix: allow fallthrough comment inside block (fixes #14701) (#14702) (Kevin Gibbons)a47e5e3Docs: Add Mega-Linter to the list of integrations (#14707) (Nicolas Vuillamy)353ddf9Chore: enable reportUnusedDisableDirectives in eslint-config-eslint (#14699) (薛定谔的猫)757c495Chore: add some rules to eslint-config-eslint (#14692) (薛定谔的猫)c93a222Docs: fix a broken link (#14697) (Sam Chen)655c118Sponsors: Sync README with website (ESLint Jenkins)e2bed2eSponsors: Sync README with website (ESLint Jenkins)8490fb4Sponsors: Sync README with website (ESLint Jenkins)ddbe877Sponsors: Sync README with website (ESLint Jenkins)v7.28.0Compare Source
1237705Upgrade: @eslint/eslintrc to 0.4.2 (#14672) (Milos Djermanovic)123fb86Docs: Add Feedback Needed triage description (#14670) (Nicholas C. Zakas)c545163Update: support multiline /eslint-env/ directives (fixes #14652) (#14660) (薛定谔的猫)8d1e75aUpgrade: glob-parent version in package.json (#14658) (Hamza Najeeb)1f048cbFix: no-implicit-coercion false positive withString()(fixes #14623) (#14641) (Milos Djermanovic)d709abfChore: fix comment location in no-unused-vars (#14648) (Milos Djermanovic)e44ce0aFix: no-duplicate-imports allow unmergeable (fixes #12758, fixes #12760) (#14238) (Soufiane Boutahlil)bb66a3dNew: addgetPhysicalFilename()method to rule context (fixes #11989) (#14616) (Nitin Kumar)2e43dacDocs: fixno-sequencesexample (#14643) (Nitin Kumar)958ff4eDocs: add note for arrow functions in no-seq rule (#14578) (Nitin Kumar)e4f111bFix: arrow-body-style crash with object pattern (fixes #14633) (#14635) (Milos Djermanovic)ec28b5aChore: upgrade eslint-plugin-eslint-plugin (#14590) (薛定谔的猫)85a2725Docs: Update README team and sponsors (ESLint Jenkins)v7.27.0Compare Source
2c0868cChore: merge all html formatter files intohtml.js(#14612) (Milos Djermanovic)9e9b5e0Update: no-unused-vars false negative with comma operator (fixes #14325) (#14354) (Nitin Kumar)afe9569Chore: use includes instead of indexOf (#14607) (Mikhail Bodrov)c0f418eChore: Remove lodash (#14287) (Stephen Wade)52655ddUpdate: no-restricted-imports custom message for patterns (fixes #11843) (#14580) (Alex Holden)967b1c4Chore: Fix typo in large.js (#14589) (Ikko Ashimine)2466a05Sponsors: Sync README with website (ESLint Jenkins)fe29f18Sponsors: Sync README with website (ESLint Jenkins)086c1d6Chore: add more test cases forno-sequences(#14579) (Nitin Kumar)6a2ced8Docs: Update README team and sponsors (ESLint Jenkins)prettier/eslint-config-prettier (eslint-config-prettier)
v4.3.0Compare Source
v4.2.0Compare Source
import-js/eslint-plugin-import (eslint-plugin-import)
v2.32.0Compare Source
Added
enforce-node-protocol-usage] rule andimport/node-versionsetting ([#3024], thanks [@GoldStrikeArch] and [@sevenc-nanashi])extensions]: add `pathGroupOverrides to allow enforcement decision overrides based on specifier ([#3105], thanks [@Xunnamius])order]: addsortTypesGroupoption to allow intragroup sorting of type-only imports ([#3104], thanks [@Xunnamius])order]: addnewlines-between-typesoption to control intragroup sorting of type-only imports ([#3127], thanks [@Xunnamius])order]: addconsolidateIslandsoption to collapse excess spacing for aesthetically pleasing imports ([#3129], thanks [@Xunnamius])Fixed
no-unused-modules]: provide more meaningful error message when no .eslintrc is present ([#3116], thanks [@michaelfaith])order]: ensure arcane imports do not cause undefined behavior ([#3128], thanks [@Xunnamius])order]: resolve undefined property access issue when usingnamedordering ([#3166], thanks [@Xunnamius])enforce-node-protocol-usage]: avoid a crash with some TS code ([#3173], thanks [@ljharb])order]: codify invariants from docs into config schema ([#3152], thanks [@Xunnamius])Changed
extensions], [order]: improve documentation ([#3106], thanks [@Xunnamius])tseslint.config()([#3125], thanks [@lnuvy])order]: remove unnecessary negative check ([#3167], thanks [@JounQin])no-unused-modules]: add missing double quote ([#3191], thanks [@albertpastrana])no-restricted-paths: clarify wording and fix errors ([#3172], thanks [@greim])v2.31.0Compare Source
Added
order]: allow validating named imports ([#3043], thanks [@manuth])extensions]: add thecheckTypeImportsoption ([#2817], thanks [@phryneas])Fixed
ExportMap/ flat config: includelanguageOptionsin context ([#3052], thanks [@michaelfaith])no-named-as-default]: Allow using an identifier if the export is both a named and a default export ([#3032], thanks [@akwodkiewicz])export]: False positive for exported overloaded functions in TS ([#3065], thanks [@liuxingbaoyu])exportMap: export map cache is tainted by unreliable parse results ([#3062], thanks [@michaelfaith])exportMap: improve cacheKey when using flat config ([#3072], thanks [@michaelfaith])Changed
no-relative-packages]: fix typo ([#3066], thanks [@joshuaobrien])no-cycle]: dont scc for each linted file ([#3068], thanks [@soryy708])no-cycle]: adddisableSccto docs ([#3070], thanks [@soryy708])RuleTester([#3071], thanks [@G-Rath])no-restricted-paths]: fix grammar ([#3073], thanks [@unbeauvoyage])no-default-export], [no-named-export]: add test case (thanks [@G-Rath])v2.30.0Compare Source
Added
dynamic-import-chunkname]: addallowEmptyoption to allow empty leading comments ([#2942], thanks [@JiangWeixian])dynamic-import-chunkname]: Allow empty chunk name when webpackMode: 'eager' is set; add suggestions to remove name in eager mode ([#3004], thanks [@amsardesai])no-unused-modules]: AddignoreUnusedTypeExportsoption ([#3011], thanks [@silverwind])Fixed
no-extraneous-dependencies]: allow wrong path ([#3012], thanks [@chabb])no-cycle]: use scc algorithm to optimize ([#2998], thanks [@soryy708])no-duplicates]: Removing duplicates breaks in TypeScript ([#3033], thanks [@yesl-kim])newline-after-import]: fix considerComments option when require ([#2952], thanks [@developer-bandi])order]: do not compare first path segment for relative paths ([#2682]) ([#2885], thanks [@mihkeleidast])Changed
no-extraneous-dependencies]: Make glob pattern description more explicit ([#2944], thanks [@mulztob])no-unused-modules]: add console message to help debug [#2866]ExportMap: make procedures static instead of monkeypatching exportmap ([#2982], thanks [@soryy708])ExportMap: separate ExportMap instance from its builder logic ([#2985], thanks [@soryy708])order]: Add a quick note on how unbound imports and --fix ([#2640], thanks [@minervabot])exportMapBuilder: avoid hoisting ([#2989], thanks [@soryy708])ExportMap: extract "builder" logic to separate files ([#2991], thanks [@soryy708])order]: update the description of thepathGroupsExcludedImportTypesoption ([#3036], thanks [@liby])v2.29.1Compare Source
Fixed
no-extraneous-dependencies]: ignoreexport type { ... } from '...'whenincludeTypesisfalse([#2919], thanks [@Pandemic1617])no-unused-modules]: support export patterns with array destructuring ([#2930], thanks [@ljharb])tsconfig-paths([#2447], thanks [@domdomegg])v2.29.0Compare Source
Added
newline-after-import]: new optionexactCountand docs update ([#1933], thanks [@anikethsaha] and [@reosarevok])newline-after-import]: fixexactCountwithconsiderCommentsfalse positive, when there is a leading comment ([#2884], thanks [@kinland])v2.28.1Compare Source
Fixed
order]: revert breaking change to single nested group ([#2854], thanks [@yndajas])Changed
v2.28.0Compare 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.forperformance on larger codebases ([#2756], thanks [@leipert])no-extraneous-dependencies]/TypeScript: do not error when importing inline type from dev dependencies ([#2735], 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.5Compare Source
Fixed
order]: Fix group ranks order when alphabetizing ([#2674], thanks [@Pearce-Ropion])v2.27.4Compare Source
Fixed
semvershould be a prod dep ([#2668])v2.27.3Compare Source
Fixed
no-empty-named-blocks]: rewrite rule to only check import declarations ([#2666])v2.27.2Compare Source
Fixed
no-duplicates]: do not unconditionally requiretypescript([#2665])v2.27.1Compare Source
Fixed
array.prototype.flatmapshould be a prod dep ([#2664], thanks [@cristobal])v2.27.0Compare Source
Added
newline-after-import]: addconsiderCommentsoption ([#2399], thanks [@pri1311])no-cycle]: addallowUnsafeDynamicCyclicDependencyoption ([#2387], thanks [@GerkinDev])no-restricted-paths]: support arrays forfromandtargetoptions ([#2466], thanks [@AdriAt360])no-anonymous-default-export]: addallowNewoption ([#2505], thanks [@DamienCassou])order]: AdddistinctGroupoption ([#2395], thanks [@hyperupcall])no-extraneous-dependencies]: AddincludeInternaloption ([#2541], thanks [@bdwain])no-extraneous-dependencies]: AddincludeTypesoption ([#2543], thanks [@bdwain])order]: newalphabetize.orderImportKindoption 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 withinlineTypeImportoption ([#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.matchinstead ofminimatchto 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]:checkPkgFieldObjectfilters boolean fields from checks ([#2598], thanks [@mpint])no-cycle]: accept Flowtypeofimports, 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/extensionssection ([#2440], thanks [@OutdatedVersion])order]: use correct default value ([#2392], thanks [@hyperupcall])eslint-import-resolver-typescriptusage ([#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 typestatements ([#2459], thanks [@golergka])no-restricted-paths]: fix one failingimport typetest case, submitted by [@golergka], thanks [@azyzz228]eslint-doc-generatorto v1.0.0 ([#2605], thanks [@bmish])no-cycle], [no-internal-modules], [no-restricted-paths]: useanyOfinstead ofoneOf(thanks [@ljharb], [@remcohaszing])v2.26.0Compare 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 improvConfiguration
📅 Schedule: Branch creation - "on the first day of the month" in timezone Australia/Melbourne, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.