chore(deps): update eslint packages #93
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.9.0->7.26.02.22.0->2.23.23.1.4->3.4.07.20.6->7.23.24.1.2->4.2.0Release Notes
eslint/eslint
v7.26.0Compare Source
aaf65e6Upgrade: eslintrc for ModuleResolver fix (#14577) (Brandon Mills)ae6dbd1Fix: track variables, not names in require-atomic-updates (fixes #14208) (#14282) (Patrick Ahmetovic)6a86e50Chore: remove loose-parser tests (fixes #14315) (#14569) (Milos Djermanovic)ee3a3eaFix: create.eslintrc.cjsformoduletype (#14304) (Nitin Kumar)6791decDocs: fix example for require-atomic-updates (#14562) (Milos Djermanovic)388eb7eSponsors: Sync README with website (ESLint Jenkins)f071d1eUpdate: Add automated suggestion toradixrule for parsing decimals (#14291) (Bryan Mishkin)0b6a3f3New: Include XO style guide ineslint --init(#14193) (Federico Brigante)v7.25.0Compare Source
5df5e4aUpdate: highlight last write reference for no-unused-vars (fixes #14324) (#14335) (Nitin Kumar)0023872Docs: Add deprecated note toworking-with-rules-deprecatedpage (#14344) (Michael Novotny)36fca70Chore: Upgrade eslump to 3.0.0 (#14350) (Stephen Wade)59b689aChore: add node v16 (#14355) (薛定谔的猫)35a1f5eSponsors: Sync README with website (ESLint Jenkins)fb0a92bChore: rename misspelled identifier in test (#14346) (Tobias Nießen)f2babb1Docs: update pull request template (#14336) (Nitin Kumar)02dde29Docs: Fix anchor in 'docs/developer-guide/working-with-rules.md' (#14332) (Nate-Wilkins)07d14c3Chore: remove extraneous command from lint-staged config (#14314) (James George)41b3570Update: lint code block with same extension but different content (#14227) (JounQin)eb29996Docs: add more examples with arrow functions for no-sequences rule (#14313) (Nitin Kumar)v7.24.0Compare Source
0c346c8Chore: ignorepnpm-lock.yaml(#14303) (Nitin Kumar)f06ecdfUpdate: Add disallowTemplateShorthand option in no-implicit-coercion (#13579) (Remco Haszing)71a80e3Docs: fix broken links in Node.js API docs toc (#14296) (u-sho (Shouhei Uechi))bd46dc4Docs: Fix incorrect reference to "braces" in arrow-parens (#14300) (emclain)0d6235eDocs: update header in max-lines (#14273) (Shinigami)70c9216Docs: Update issue triage to include blocked column (#14275) (Nicholas C. Zakas)abca186Docs: Fix typo in suggestions section (#14293) (Kevin Partington)c4d8b0dFix: no-unused-vars ignoreRestSiblings check assignments (fixes #14163) (#14264) (YeonJuan)b51d077Update: add ignoreNonDeclaration to no-multi-assign rule (fixes #12545) (#14185) (t-mangoe)c981fb1Chore: Upgrade mocha to 8.3.2 (#14278) (Stephen Wade)147fc04Docs: Fixrepro:neededlabel in bug report template (#14285) (Milos Djermanovic)e1cfde9Docs: Update bug report template (#14276) (Nicholas C. Zakas)c85c2f1Docs: Add fatal to Node.js API LintMessage type (#14251) (Brandon Mills)v7.23.0Compare Source
687ccaeUpdate: add option "allowInParentheses" to no-sequences (fixes #14197) (#14199) (Daniel Rentz)dbf2529Sponsors: Sync README with website (ESLint Jenkins)4bdf2c1Sponsors: Sync README with website (ESLint Jenkins)49d1697Chore: Upgrade eslint-plugin-jsdoc to v25 and remove --legacy-peer-deps (#14244) (Brandon Mills)43f1685Update:--quietshould not supress--max-warnings(fixes #14202) (#14242) (Milos Djermanovic)909c727Docs: Add valid example that shows vars in a block scope (#14230) (Ed S)28583ebFix: no-mixed-operators false positives with? :(fixes #14223) (#14226) (Milos Djermanovic)a99eb2dFix: Clarify line breaks in object-curly-newline (fixes #14024) (#14063) (armin yahya)8984c91Update: eslint --env-info output os info (#14059) (薛定谔的猫)2a79306Sponsors: Sync README with website (ESLint Jenkins)ebd7026Docs: Fix typo (#14225) (Greg Finley)a2013fcSponsors: Sync README with website (ESLint Jenkins)v7.22.0Compare Source
3a432d8Docs: Improve documentation for indent rule (#14168) (Serkan Özel)f62ec8dUpdate: throw error when fix range is invalid (#14142) (Jacob Bandes-Storch)0eecad2Upgrade: Update lodash in package.json to V 4.17.21 (#14159) (Basem Al-Nabulsi)5ad91aaUpdate: report es2021 globals in no-extend-native (refs #13602) (#14177) (Milos Djermanovic)c295581Chore: remove leftover JSDoc from lint-result-cache (#14176) (Milos Djermanovic)0d541f9Chore: Reduce lodash usage (#14178) (Stephen Wade)27a67d7Sponsors: Sync README with website (ESLint Jenkins)459d821Chore: upgrade dependencies of browser test (#14127) (Pig Fang)ebfb63aSponsors: Sync README with website (ESLint Jenkins)3ba029fDocs: Remove Extraneous Dash (#14164) (Danny Hurlburt)6f4540eSponsors: Sync README with website (ESLint Jenkins)ddf361cDocs: Fix Formatting (#14154) (Danny Hurlburt)c0d2ac1Sponsors: Sync README with website (ESLint Jenkins)a8df03eDocs: Clarify triage process (#14117) (Nicholas C. Zakas)v7.21.0Compare Source
3cd5440Upgrade: @eslint/eslintrc to 0.4.0 (#14147) (Brandon Mills)c0b8c71Upgrade: Puppeteer to 7.1.0 (#14122) (Tim van der Lippe)08ae31eNew: Implement cacheStrategy (refs eslint/rfcs#63) (#14119) (Manu Chambon)5e51fd2Update: do not ignore symbolic links (fixes #13551, fixes #13615) (#14126) (Pig Fang)87c43a5Chore: improve a few comments and fix typos (#14125) (Tobias Nießen)e19c51eSponsors: Sync README with website (ESLint Jenkins)b8aea99Fix: pluralize 'line' to 'lines' in max-lines-per-function description (#14115) (Trevin Hofmann)f5b53e2Sponsors: Sync README with website (ESLint Jenkins)eee1213Sponsors: Sync README with website (ESLint Jenkins)5c4d7eaSponsors: Sync README with website (ESLint Jenkins)v7.20.0Compare Source
f4ac3b0Docs: fix sibling selector descriptions (#14099) (Milos Djermanovic)9d6063aFix: Crash with esquery when using JSX (fixes #13639) (#14072) (Yosuke Ota)a0871f1Docs: Triage process (#14014) (Nicholas C. Zakas)ad90761Update: add enforceForJSX option to no-unused-expressions rule (#14012) (Duncan Beevers)d6c84afFix:--initautoconfig shouldn't add deprecated rules (fixes #14017) (#14060) (Milos Djermanovic)9b277a1Fix: Support ENOTDIR error code in the folder existence checking utility (#13973) (Constantine Genchevsky)7aeb127Upgrade: pin @babel/code-frame@7.12.11 (#14067) (Milos Djermanovic)b4e2af5Docs: Add more fields to bug report template (#14039) (Nicholas C. Zakas)96f1d49Sponsors: Sync README with website (ESLint Jenkins)cb27b0aBuild: package.json update for eslint-config-eslint release (ESLint Jenkins)4cab165Sponsors: Sync README with website (ESLint Jenkins)v7.19.0Compare Source
ce7f061Update: add shadowed variable loc to message in no-shadow (fixes #13646) (#13841) (t-mangoe)c60e23fUpdate: fixletlogic in for-in and for-of loops in no-extra-parens (#14011) (Milos Djermanovic)d76e8f6Fix: no-useless-rename invalid autofix with parenthesized identifiers (#14032) (Milos Djermanovic)5800d92Docs: Clarify stylistic rule update policy (#14052) (Brandon Mills)0ccf6d2Docs: remove configuring.md (#14036) (Milos Djermanovic)65bb0abChore: Clean up new issue workflow (#14040) (Nicholas C. Zakas)e1da90fFix: nested indenting for offsetTernaryExpressions: true (fixes #13971) (#13972) (Chris Brody)1a078b9Update: check ternary:even if?was reported in space-infix-ops (#13963) (Milos Djermanovic)fb27422Fix: extend prefer-const fixer range to whole declaration (fixes #13899) (#14033) (Nitin Kumar)e0b05c7Docs: add a correct example to no-unsafe-optional-chaining (refs #14029) (#14050) (armin yahya)46e836dSponsors: Sync README with website (ESLint Jenkins)3fc4fa4Docs: update configuring links (#14038) (Milos Djermanovic)8561c21Docs: fix broken links in configuring/README.md (#14046) (Milos Djermanovic)1c309ebUpdate: fix no-invalid-regexp false negatives with no flags specified (#14018) (Milos Djermanovic)f6602d5Docs: Reorganize Configuration Documentation (#13837) (klkhan)c753b44Sponsors: Sync README with website (ESLint Jenkins)a4fdb70Docs: Fixed Typo (#14007) (Yash Singh)f7ca481Docs: Explain why we disable lock files (refs eslint/tsc-meetings#234) (#14006) (Brandon Mills)v7.18.0Compare Source
e3264b2Upgrade: @eslint/eslintrc to improve error message for invalid extends (#14009) (Milos Djermanovic)f17c3c3Update: check logical assignment operators in the complexity rule (#13979) (Milos Djermanovic)672deb0Docs: fix no-invalid-regexp docs regarding ecmaVersion (#13991) (Milos Djermanovic)179a910Fix: --init crash on question to upgrade/downgrade ESLint (fixes #13978) (#13995) (Milos Djermanovic)292b1c0Fix: no-extra-parens false positive withletidentifier in for-loop (#13981) (Milos Djermanovic)de61f94Sponsors: Sync README with website (ESLint Jenkins)9250d16Upgrade: Bump lodash to fix security issue (#13993) (Frederik Prijck)75fea9bSponsors: Sync README with website (ESLint Jenkins)f2687e7Docs: update space-in-parens related rules (#13985) (Chris Brody)4a38bbeDocs: space-in-parens examples with no arguments etc. (#13987) (Chris Brody)3e49169Sponsors: Sync README with website (ESLint Jenkins)c5bf1f2Sponsors: Sync README with website (ESLint Jenkins)98a729cSponsors: Sync README with website (ESLint Jenkins)e83a696Sponsors: Sync README with website (ESLint Jenkins)78cb483Chore: testfoo( )with space-in-parens option "always" (#13986) (Chris Brody)f6948f6Docs: Update semantic versioning policy (#13970) (Nicholas C. Zakas)0688212Sponsors: Sync README with website (ESLint Jenkins)aeba5e5Chore: fix typo (#13975) (Nitin Kumar)4ee1134Sponsors: Sync README with website (ESLint Jenkins)v7.17.0Compare Source
e128e77Update: check logical assignment in no-constant-condition (#13946) (Milos Djermanovic)cc48713Chore: refactor calculating range and loc in no-useless-escape (#13964) (Milos Djermanovic)535fe47Update: use regexpp's default ecmaVersion in no-control-regex (#13969) (Milos Djermanovic)83e98cdFix: use regexpp's default ecmaVersion in no-invalid-regexp (#13968) (Milos Djermanovic)7297363Docs: fix examples for no-multi-str (#13966) (Milos Djermanovic)0649871Update: add autofix to rule multiline-ternary (#13958) (薛定谔的猫)f6e7e32Fix: no-useless-escape wrong loc and fix with CRLF in template elements (#13953) (Milos Djermanovic)19c69c0Fix: one-var shouldn't split declaration if it isn't in a statement list (#13959) (Milos Djermanovic)e451b96Docs: update build tool for webpack (#13962) (Sam Chen)c3e9accChore: fix typos (#13960) (YeonJuan)7289ecfSponsors: Sync README with website (ESLint Jenkins)v7.16.0Compare Source
a62ad6fUpdate: fix false negative of no-extra-parens with NewExpression (#13930) (Milos Djermanovic)f85b4c7Fix: require-atomic-updates false positive across await (fixes #11954) (#13915) (buhi)301d0c0Fix: no-constant-condition false positives with unary expressions (#13927) (Milos Djermanovic)555c128Fix: false positive with await and ** in no-extra-parens (fixes #12739) (#13923) (Milos Djermanovic)d93c935Docs: update JSON Schema links (#13936) (Milos Djermanovic)8d0c93aUpgrade: table@6.0.4 (#13920) (Rouven Weßling)9247683Docs: Remove for deleted npm run profile script (#13931) (Brandon Mills)ab240d4Fix: prefer-exponentiation-operator invalid autofix with await (#13924) (Milos Djermanovic)dc76911Chore: Add .pre-commit-hooks.yaml file (#13628) (Álvaro Mondéjar)2124e1bDocs: Fix wrong rule name (#13913) (noisyboy25)06b5809Sponsors: Sync README with website (ESLint Jenkins)26fc12fDocs: Update README team and sponsors (ESLint Jenkins)v7.15.0Compare Source
5c11aabUpgrade: @eslint/esintrc and espree for bug fixes (refs #13878) (#13908) (Brandon Mills)0eb7957Upgrade: file-entry-cache@6.0.0 (#13877) (Rouven Weßling)683ad00New: no-unsafe-optional-chaining rule (fixes #13431) (#13859) (YeonJuan)cbc57fbFix: one-var autofixing for export (fixes #13834) (#13891) (Anix)110cf96Docs: Fix a broken link in working-with-rules.md (#13875) (Anton Niklasson)v7.14.0Compare Source
5f09073Update: fix 'skip' options in no-irregular-whitespace (fixes #13852) (#13853) (Milos Djermanovic)1861b40Docs: correct the function-call-argument-newline 'default' descriptions (#13866) (Trevin Hofmann)98c00c4New: Add no-nonoctal-decimal-escape rule (fixes #13765) (#13845) (Milos Djermanovic)95d2fe6Chore: remove eslint comment from no-octal-escape tests (#13846) (Milos Djermanovic)2004b7eFix: enable debug logs for @eslint/eslintrc (fixes #13850) (#13861) (Milos Djermanovic)d2239a1Fix: no-useless-constructor crash on bodyless constructor (fixes #13830) (#13842) (Ari Perkkiö)eda0aa1Docs: no-restricted-imports is only for static imports (#13863) (Robat Williams)042ae44Docs: Fix JS syntax and doc URL in working-with-custom-formatters.md (#13828) (Raphael LANG)038dc73Chore: Test on Node.js 15 (#13844) (Brandon Mills)37a06d6Sponsors: Sync README with website (ESLint Jenkins)v7.13.0Compare Source
254e00fNew: Configurable List Size For Per-Rule Performance Metrics (#13812) (Bryan Mishkin)6c3c710Docs: fix broken url in docs (#13815) (SaintMalik)4a09149Sponsors: Sync README with website (ESLint Jenkins)fb6fcbfDocs: Fix reference to Code of Conduct (#13797) (Tobias Nießen)1b89ebeSponsors: Sync README with website (ESLint Jenkins)v7.12.1Compare Source
08f33e8Upgrade: @eslint/eslintrc to fix rule schema validation (fixes #13793) (#13794) (Brandon Mills)aeef485Fix: Pass internal config paths in FileEnumerator default (fixes #13789) (#13792) (Brandon Mills)631ae8bSponsors: Sync README with website (ESLint Jenkins)v7.12.0Compare Source
cbf3585Update: skip keyword check for fns in space-before-blocks (fixes #13553) (#13712) (Milos Djermanovic)256f656Fix: autofix shouldn't produce template literals with\8or\9(#13737) (Milos Djermanovic)b165aa5Fix: yoda rule autofix produces syntax errors with adjacent tokens (#13760) (Milos Djermanovic)3175316Fix: prefer-destructuring invalid autofix with comma operator (#13761) (Milos Djermanovic)1a9f171Chore: Remove more ESLintRC-related files (refs #13481) (#13762) (Nicholas C. Zakas)bfddcedUpdate: remove suggestion if it didn't provide a fix (fixes #13723) (#13772) (Milos Djermanovic)5183b14Update: check template literal in no-script-url (#13775) (YeonJuan)bfe97d2Sponsors: Sync README with website (ESLint Jenkins)6c51adeSponsors: Sync README with website (ESLint Jenkins)603de04Update: treat all literals like boolean literal in no-constant-condition (#13245) (Zen)289aa6fSponsors: Sync README with website (ESLint Jenkins)9a1f669Sponsors: Sync README with website (ESLint Jenkins)637f818Docs: add more examples for no-func-assign (fixes #13705) (#13777) (Nitin Kumar)17cc0ddChore: add test case for no-func-assign (refs #13705) (#13783) (Nitin Kumar)dee0f77Docs: add TOC to user-guide/configuring.md (#13727) (metasean)0510621Update: Fix && vs || short-circuiting false negatives (fixes #13634) (#13769) (Brandon Mills)8b6ed69Sponsors: Sync README with website (ESLint Jenkins)1457509Docs: fix broken links in Node.js API docs (#13771) (Laura Barluzzi)7c813d4Docs: Fix typo in v7 migration page (#13778) (Yusuke Sasaki)b025795Docs: Fix the format option name in the document (#13770) (Hideki Igarashi)84fd591Chore: Increase Mocha timeout for copying fixtures (#13768) (Brandon Mills)1faeb84Docs: clarify that space-unary-ops doesn't apply when space is required (#13767) (Taylor Morgan)67c0605Update: check computed keys in no-prototype-builtins (fixes #13088) (#13755) (Milos Djermanovic)b5e011cSponsors: Sync README with website (ESLint Jenkins)v7.11.0Compare Source
23e966fChore: Refactor CLIEngine tests (refs #13481) (#13709) (Nicholas C. Zakas)fa9429aFix: don't count line after EOF in max-lines (#13735) (Milos Djermanovic)d973675Docs: Update anchor links to use existing linkrefs (refs #13715) (#13741) (Brandon Mills)2c6d774Docs: Fix typos (#13730) (Frieder Bluemle)cc468c0Upgrade: eslint-visitor-keys@2.0.0 (#13732) (Milos Djermanovic)ab0ac6cDocs: Fix anchor links (#13715) (Gary Moore)27f0de6Fix: account for linebreaks before postfix++/--in no-extra-parens (#13731) (Milos Djermanovic)da78fa1Update: support async arrow fn in function-paren-newline (fixes #13728) (#13729) (Michal Dziekonski)fe301b8Docs: Add configuration comments in examples (#13738) (YeonJuan)504408cSponsors: Sync README with website (ESLint Jenkins)3900659Sponsors: Sync README with website (ESLint Jenkins)c1974b3Sponsors: Sync README with website (ESLint Jenkins)6f4abe5Sponsors: Sync README with website (ESLint Jenkins)v7.10.0Compare Source
6919fbbDocs: Clarify that ignorePattern should be a string (refs #13029) (#13718) (Brandon Mills)07d9beaUpdate: Add ignorePattern to no-inline-comments (#13029) (Edie Lemoine)d79bbe9Docs: fix typo (#13717) (Alexander Liu)9b8490eDocs: grammatical error (#13687) (rajdeep)cb44e93Fix: prefer-destructuring invalid autofix with computed property access (#13704) (Milos Djermanovic)46c73b1Upgrade: eslint-scope@5.1.1 (#13716) (Milos Djermanovic)b7b12baChore: Move comment to make tests more organized (#13707) (Yusuke Tanaka)51674a4Docs: Add missing quotes (#13714) (Lucio Paiva)7c34a98Chore: remove mistakenly added file (#13710) (Milos Djermanovic)30b76c9Docs: Clarify package.json requirement in Getting Started (refs #13549) (#13696) (Nicholas C. Zakas)044560dSponsors: Sync README with website (ESLint Jenkins)54000d1Sponsors: Sync README with website (ESLint Jenkins)benmosher/eslint-plugin-import
v2.23.2Compare Source
Changed
safe-publish-latest; useprepublishOnlyscript for npm 7+v2.23.1Compare Source
Fixed
newline-after-import]: fix crash withexport {}syntax ([#2063], [#2056], thanks [@ljharb])ExportMap: do not crash when tsconfig lacks.compilerOptions([#2067], thanks [@ljharb])order]: fix alphabetical sorting ([#2071], thanks [@grit96])v2.23.0Compare Source
Added
no-commonjs]: Also detect require calls with expressionless template literals:require(`x`)([#1958], thanks [@FloEdelmann])no-internal-modules]: Addforbidoption ([#1846], thanks [@guillaumewuip])no-relative-packages] ([#1860], [#966], thanks [@tapayne88][@panrafal])no-import-module-exports] rule: report import declarations with CommonJS exports ([#804], thanks [@kentcdodds] and [@ttmarek])no-unused-modules]: Support destructuring assignment forexport. ([#1997], thanks [@s-h-a-d-o-w])order]: support type imports ([#2021], thanks [@grit96])order]: AddwarnOnUnassignedImportsoption to enable warnings for out of order unassigned imports ([#1990], thanks [@hayes])Fixed
export]/TypeScript: properly detect export specifiers as children of a TS module block ([#1889], thanks [@andreubotella])order]: ignore non-module-level requires ([#1940], thanks [@golopot])no-webpack-loader-syntax]/TypeScript: avoid crash on missing name ([#1947], thanks [@leonardodino])no-extraneous-dependencies]: Add package.json cache ([#1948], thanks [@fa93hws])prefer-default-export]: handle empty array destructuring ([#1965], thanks [@ljharb])no-unused-modules]: make type imports mark a module as used (fixes #1924) ([#1974], thanks [@cherryblossom000])no-cycle]: fix perf regression ([#1944], thanks [@Blasz])first]: fix handling ofimport = require([#1963], thanks [@MatthiasKunnen])no-cycle]/[extensions]: fix isExternalModule usage ([#1696], thanks [@paztis])extensions]/[no-cycle]/[no-extraneous-dependencies]: Correct module real path resolution ([#1696], thanks [@paztis])no-named-default]: ignore Flow import type and typeof ([#1983], thanks [@christianvuerings])no-extraneous-dependencies]: Exclude flowtypeofimports ([#1534], thanks [@devongovett])newline-after-import]: respect decorator annotations ([#1985], thanks [@lilling])no-restricted-paths]:Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.