chore(deps): update linters (major) #167
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:
6.8.0
->7.28.0
20.0.0
->22.0.0
Release Notes
eslint/eslint
v7.28.0
Compare Source
1237705
Upgrade: @eslint/eslintrc to 0.4.2 (#14672) (Milos Djermanovic)123fb86
Docs: Add Feedback Needed triage description (#14670) (Nicholas C. Zakas)c545163
Update: support multiline /eslint-env/ directives (fixes #14652) (#14660) (薛定谔的猫)8d1e75a
Upgrade: glob-parent version in package.json (#14658) (Hamza Najeeb)1f048cb
Fix: no-implicit-coercion false positive withString()
(fixes #14623) (#14641) (Milos Djermanovic)d709abf
Chore: fix comment location in no-unused-vars (#14648) (Milos Djermanovic)e44ce0a
Fix: no-duplicate-imports allow unmergeable (fixes #12758, fixes #12760) (#14238) (Soufiane Boutahlil)bb66a3d
New: addgetPhysicalFilename()
method to rule context (fixes #11989) (#14616) (Nitin Kumar)2e43dac
Docs: fixno-sequences
example (#14643) (Nitin Kumar)958ff4e
Docs: add note for arrow functions in no-seq rule (#14578) (Nitin Kumar)e4f111b
Fix: arrow-body-style crash with object pattern (fixes #14633) (#14635) (Milos Djermanovic)ec28b5a
Chore: upgrade eslint-plugin-eslint-plugin (#14590) (薛定谔的猫)85a2725
Docs: Update README team and sponsors (ESLint Jenkins)v7.27.0
Compare Source
2c0868c
Chore: merge all html formatter files intohtml.js
(#14612) (Milos Djermanovic)9e9b5e0
Update: no-unused-vars false negative with comma operator (fixes #14325) (#14354) (Nitin Kumar)afe9569
Chore: use includes instead of indexOf (#14607) (Mikhail Bodrov)c0f418e
Chore: Remove lodash (#14287) (Stephen Wade)52655dd
Update: no-restricted-imports custom message for patterns (fixes #11843) (#14580) (Alex Holden)967b1c4
Chore: Fix typo in large.js (#14589) (Ikko Ashimine)2466a05
Sponsors: Sync README with website (ESLint Jenkins)fe29f18
Sponsors: Sync README with website (ESLint Jenkins)086c1d6
Chore: add more test cases forno-sequences
(#14579) (Nitin Kumar)6a2ced8
Docs: Update README team and sponsors (ESLint Jenkins)v7.26.0
Compare Source
aaf65e6
Upgrade: eslintrc for ModuleResolver fix (#14577) (Brandon Mills)ae6dbd1
Fix: track variables, not names in require-atomic-updates (fixes #14208) (#14282) (Patrick Ahmetovic)6a86e50
Chore: remove loose-parser tests (fixes #14315) (#14569) (Milos Djermanovic)ee3a3ea
Fix: create.eslintrc.cjs
formodule
type (#14304) (Nitin Kumar)6791dec
Docs: fix example for require-atomic-updates (#14562) (Milos Djermanovic)388eb7e
Sponsors: Sync README with website (ESLint Jenkins)f071d1e
Update: Add automated suggestion toradix
rule for parsing decimals (#14291) (Bryan Mishkin)0b6a3f3
New: Include XO style guide ineslint --init
(#14193) (Federico Brigante)v7.25.0
Compare Source
5df5e4a
Update: highlight last write reference for no-unused-vars (fixes #14324) (#14335) (Nitin Kumar)0023872
Docs: Add deprecated note toworking-with-rules-deprecated
page (#14344) (Michael Novotny)36fca70
Chore: Upgrade eslump to 3.0.0 (#14350) (Stephen Wade)59b689a
Chore: add node v16 (#14355) (薛定谔的猫)35a1f5e
Sponsors: Sync README with website (ESLint Jenkins)fb0a92b
Chore: rename misspelled identifier in test (#14346) (Tobias Nießen)f2babb1
Docs: update pull request template (#14336) (Nitin Kumar)02dde29
Docs: Fix anchor in 'docs/developer-guide/working-with-rules.md' (#14332) (Nate-Wilkins)07d14c3
Chore: remove extraneous command from lint-staged config (#14314) (James George)41b3570
Update: lint code block with same extension but different content (#14227) (JounQin)eb29996
Docs: add more examples with arrow functions for no-sequences rule (#14313) (Nitin Kumar)v7.24.0
Compare Source
0c346c8
Chore: ignorepnpm-lock.yaml
(#14303) (Nitin Kumar)f06ecdf
Update: Add disallowTemplateShorthand option in no-implicit-coercion (#13579) (Remco Haszing)71a80e3
Docs: fix broken links in Node.js API docs toc (#14296) (u-sho (Shouhei Uechi))bd46dc4
Docs: Fix incorrect reference to "braces" in arrow-parens (#14300) (emclain)0d6235e
Docs: update header in max-lines (#14273) (Shinigami)70c9216
Docs: Update issue triage to include blocked column (#14275) (Nicholas C. Zakas)abca186
Docs: Fix typo in suggestions section (#14293) (Kevin Partington)c4d8b0d
Fix: no-unused-vars ignoreRestSiblings check assignments (fixes #14163) (#14264) (YeonJuan)b51d077
Update: add ignoreNonDeclaration to no-multi-assign rule (fixes #12545) (#14185) (t-mangoe)c981fb1
Chore: Upgrade mocha to 8.3.2 (#14278) (Stephen Wade)147fc04
Docs: Fixrepro:needed
label in bug report template (#14285) (Milos Djermanovic)e1cfde9
Docs: Update bug report template (#14276) (Nicholas C. Zakas)c85c2f1
Docs: Add fatal to Node.js API LintMessage type (#14251) (Brandon Mills)v7.23.0
Compare Source
687ccae
Update: add option "allowInParentheses" to no-sequences (fixes #14197) (#14199) (Daniel Rentz)dbf2529
Sponsors: Sync README with website (ESLint Jenkins)4bdf2c1
Sponsors: Sync README with website (ESLint Jenkins)49d1697
Chore: Upgrade eslint-plugin-jsdoc to v25 and remove --legacy-peer-deps (#14244) (Brandon Mills)43f1685
Update:--quiet
should not supress--max-warnings
(fixes #14202) (#14242) (Milos Djermanovic)909c727
Docs: Add valid example that shows vars in a block scope (#14230) (Ed S)28583eb
Fix: no-mixed-operators false positives with? :
(fixes #14223) (#14226) (Milos Djermanovic)a99eb2d
Fix: Clarify line breaks in object-curly-newline (fixes #14024) (#14063) (armin yahya)8984c91
Update: eslint --env-info output os info (#14059) (薛定谔的猫)2a79306
Sponsors: Sync README with website (ESLint Jenkins)ebd7026
Docs: Fix typo (#14225) (Greg Finley)a2013fc
Sponsors: Sync README with website (ESLint Jenkins)v7.22.0
Compare Source
3a432d8
Docs: Improve documentation for indent rule (#14168) (Serkan Özel)f62ec8d
Update: throw error when fix range is invalid (#14142) (Jacob Bandes-Storch)0eecad2
Upgrade: Update lodash in package.json to V 4.17.21 (#14159) (Basem Al-Nabulsi)5ad91aa
Update: report es2021 globals in no-extend-native (refs #13602) (#14177) (Milos Djermanovic)c295581
Chore: remove leftover JSDoc from lint-result-cache (#14176) (Milos Djermanovic)0d541f9
Chore: Reduce lodash usage (#14178) (Stephen Wade)27a67d7
Sponsors: Sync README with website (ESLint Jenkins)459d821
Chore: upgrade dependencies of browser test (#14127) (Pig Fang)ebfb63a
Sponsors: Sync README with website (ESLint Jenkins)3ba029f
Docs: Remove Extraneous Dash (#14164) (Danny Hurlburt)6f4540e
Sponsors: Sync README with website (ESLint Jenkins)ddf361c
Docs: Fix Formatting (#14154) (Danny Hurlburt)c0d2ac1
Sponsors: Sync README with website (ESLint Jenkins)a8df03e
Docs: Clarify triage process (#14117) (Nicholas C. Zakas)v7.21.0
Compare Source
3cd5440
Upgrade: @eslint/eslintrc to 0.4.0 (#14147) (Brandon Mills)c0b8c71
Upgrade: Puppeteer to 7.1.0 (#14122) (Tim van der Lippe)08ae31e
New: Implement cacheStrategy (refs eslint/rfcs#63) (#14119) (Manu Chambon)5e51fd2
Update: do not ignore symbolic links (fixes #13551, fixes #13615) (#14126) (Pig Fang)87c43a5
Chore: improve a few comments and fix typos (#14125) (Tobias Nießen)e19c51e
Sponsors: Sync README with website (ESLint Jenkins)b8aea99
Fix: pluralize 'line' to 'lines' in max-lines-per-function description (#14115) (Trevin Hofmann)f5b53e2
Sponsors: Sync README with website (ESLint Jenkins)eee1213
Sponsors: Sync README with website (ESLint Jenkins)5c4d7ea
Sponsors: Sync README with website (ESLint Jenkins)v7.20.0
Compare Source
f4ac3b0
Docs: fix sibling selector descriptions (#14099) (Milos Djermanovic)9d6063a
Fix: Crash with esquery when using JSX (fixes #13639) (#14072) (Yosuke Ota)a0871f1
Docs: Triage process (#14014) (Nicholas C. Zakas)ad90761
Update: add enforceForJSX option to no-unused-expressions rule (#14012) (Duncan Beevers)d6c84af
Fix:--init
autoconfig shouldn't add deprecated rules (fixes #14017) (#14060) (Milos Djermanovic)9b277a1
Fix: Support ENOTDIR error code in the folder existence checking utility (#13973) (Constantine Genchevsky)7aeb127
Upgrade: pin @babel/code-frame@7.12.11 (#14067) (Milos Djermanovic)b4e2af5
Docs: Add more fields to bug report template (#14039) (Nicholas C. Zakas)96f1d49
Sponsors: Sync README with website (ESLint Jenkins)cb27b0a
Build: package.json update for eslint-config-eslint release (ESLint Jenkins)4cab165
Sponsors: Sync README with website (ESLint Jenkins)v7.19.0
Compare Source
ce7f061
Update: add shadowed variable loc to message in no-shadow (fixes #13646) (#13841) (t-mangoe)c60e23f
Update: fixlet
logic in for-in and for-of loops in no-extra-parens (#14011) (Milos Djermanovic)d76e8f6
Fix: no-useless-rename invalid autofix with parenthesized identifiers (#14032) (Milos Djermanovic)5800d92
Docs: Clarify stylistic rule update policy (#14052) (Brandon Mills)0ccf6d2
Docs: remove configuring.md (#14036) (Milos Djermanovic)65bb0ab
Chore: Clean up new issue workflow (#14040) (Nicholas C. Zakas)e1da90f
Fix: nested indenting for offsetTernaryExpressions: true (fixes #13971) (#13972) (Chris Brody)1a078b9
Update: check ternary:
even if?
was reported in space-infix-ops (#13963) (Milos Djermanovic)fb27422
Fix: extend prefer-const fixer range to whole declaration (fixes #13899) (#14033) (Nitin Kumar)e0b05c7
Docs: add a correct example to no-unsafe-optional-chaining (refs #14029) (#14050) (armin yahya)46e836d
Sponsors: Sync README with website (ESLint Jenkins)3fc4fa4
Docs: update configuring links (#14038) (Milos Djermanovic)8561c21
Docs: fix broken links in configuring/README.md (#14046) (Milos Djermanovic)1c309eb
Update: fix no-invalid-regexp false negatives with no flags specified (#14018) (Milos Djermanovic)f6602d5
Docs: Reorganize Configuration Documentation (#13837) (klkhan)c753b44
Sponsors: Sync README with website (ESLint Jenkins)a4fdb70
Docs: Fixed Typo (#14007) (Yash Singh)f7ca481
Docs: Explain why we disable lock files (refs eslint/tsc-meetings#234) (#14006) (Brandon Mills)v7.18.0
Compare Source
e3264b2
Upgrade: @eslint/eslintrc to improve error message for invalid extends (#14009) (Milos Djermanovic)f17c3c3
Update: check logical assignment operators in the complexity rule (#13979) (Milos Djermanovic)672deb0
Docs: fix no-invalid-regexp docs regarding ecmaVersion (#13991) (Milos Djermanovic)179a910
Fix: --init crash on question to upgrade/downgrade ESLint (fixes #13978) (#13995) (Milos Djermanovic)292b1c0
Fix: no-extra-parens false positive withlet
identifier in for-loop (#13981) (Milos Djermanovic)de61f94
Sponsors: Sync README with website (ESLint Jenkins)9250d16
Upgrade: Bump lodash to fix security issue (#13993) (Frederik Prijck)75fea9b
Sponsors: Sync README with website (ESLint Jenkins)f2687e7
Docs: update space-in-parens related rules (#13985) (Chris Brody)4a38bbe
Docs: space-in-parens examples with no arguments etc. (#13987) (Chris Brody)3e49169
Sponsors: Sync README with website (ESLint Jenkins)c5bf1f2
Sponsors: Sync README with website (ESLint Jenkins)98a729c
Sponsors: Sync README with website (ESLint Jenkins)e83a696
Sponsors: Sync README with website (ESLint Jenkins)78cb483
Chore: testfoo( )
with space-in-parens option "always" (#13986) (Chris Brody)f6948f6
Docs: Update semantic versioning policy (#13970) (Nicholas C. Zakas)0688212
Sponsors: Sync README with website (ESLint Jenkins)aeba5e5
Chore: fix typo (#13975) (Nitin Kumar)4ee1134
Sponsors: Sync README with website (ESLint Jenkins)v7.17.0
Compare Source
e128e77
Update: check logical assignment in no-constant-condition (#13946) (Milos Djermanovic)cc48713
Chore: refactor calculating range and loc in no-useless-escape (#13964) (Milos Djermanovic)535fe47
Update: use regexpp's default ecmaVersion in no-control-regex (#13969) (Milos Djermanovic)83e98cd
Fix: use regexpp's default ecmaVersion in no-invalid-regexp (#13968) (Milos Djermanovic)7297363
Docs: fix examples for no-multi-str (#13966) (Milos Djermanovic)0649871
Update: add autofix to rule multiline-ternary (#13958) (薛定谔的猫)f6e7e32
Fix: no-useless-escape wrong loc and fix with CRLF in template elements (#13953) (Milos Djermanovic)19c69c0
Fix: one-var shouldn't split declaration if it isn't in a statement list (#13959) (Milos Djermanovic)e451b96
Docs: update build tool for webpack (#13962) (Sam Chen)c3e9acc
Chore: fix typos (#13960) (YeonJuan)7289ecf
Sponsors: Sync README with website (ESLint Jenkins)v7.16.0
Compare Source
a62ad6f
Update: fix false negative of no-extra-parens with NewExpression (#13930) (Milos Djermanovic)f85b4c7
Fix: require-atomic-updates false positive across await (fixes #11954) (#13915) (buhi)301d0c0
Fix: no-constant-condition false positives with unary expressions (#13927) (Milos Djermanovic)555c128
Fix: false positive with await and ** in no-extra-parens (fixes #12739) (#13923) (Milos Djermanovic)d93c935
Docs: update JSON Schema links (#13936) (Milos Djermanovic)8d0c93a
Upgrade: table@6.0.4 (#13920) (Rouven Weßling)9247683
Docs: Remove for deleted npm run profile script (#13931) (Brandon Mills)ab240d4
Fix: prefer-exponentiation-operator invalid autofix with await (#13924) (Milos Djermanovic)dc76911
Chore: Add .pre-commit-hooks.yaml file (#13628) (Álvaro Mondéjar)2124e1b
Docs: Fix wrong rule name (#13913) (noisyboy25)06b5809
Sponsors: Sync README with website (ESLint Jenkins)26fc12f
Docs: Update README team and sponsors (ESLint Jenkins)v7.15.0
Compare Source
5c11aab
Upgrade: @eslint/esintrc and espree for bug fixes (refs #13878) (#13908) (Brandon Mills)0eb7957
Upgrade: file-entry-cache@6.0.0 (#13877) (Rouven Weßling)683ad00
New: no-unsafe-optional-chaining rule (fixes #13431) (#13859) (YeonJuan)cbc57fb
Fix: one-var autofixing for export (fixes #13834) (#13891) (Anix)110cf96
Docs: Fix a broken link in working-with-rules.md (#13875) (Anton Niklasson)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: eslint-visitor-keys@2.0.0 (#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: eslint-scope@5.1.1 (#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
](https://github.com/eslint/eslint/commit/3ca27004ece5016baConfiguration
📅 Schedule: "before 3am on Monday" in timezone Asia/Tokyo.
🚦 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 has been generated by WhiteSource Renovate. View repository job log here.