[Snyk] Upgrade eslint from 7.6.0 to 7.32.0 #56
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.
Snyk has created this PR to upgrade eslint from 7.6.0 to 7.32.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 28 versions ahead of your current version.
The recommended version was released on 3 years ago.
Issues fixed by the recommended upgrade:
SNYK-JS-BODYPARSER-7926860
SNYK-JS-LODASH-567746
SNYK-JS-LODASH-567746
SNYK-JS-LODASH-567746
SNYK-JS-PATHTOREGEXP-7925106
SNYK-JS-MINIMATCH-3050818
SNYK-JS-EXPRESS-6474509
SNYK-JS-EXPRESS-7926867
SNYK-JS-SEND-7926862
SNYK-JS-SERVESTATIC-7926865
Release notes
Package name: eslint
3c78a7b
Chore: Adopteslint-plugin/prefer-message-ids
rule internally (#14841) (Bryan Mishkin)faecf56
Update: change reporting location forcurly
rule (refs #12334) (#14766) (Nitin Kumar)d7dc07a
Fix: ignore lines with empty elements (fixes #12756) (#14837) (Soufiane Boutahlil)1bfbefd
New: Exit on fatal error (fixes #13711) (#14730) (Antonios Katopodis)ed007c8
Chore: Simplify internalno-invalid-meta
rule (#14842) (Bryan Mishkin)d53d906
Docs: Prepare data for website to indicate rules with suggestions (#14830) (Bryan Mishkin)d28f2ff
Docs: Reference eslint-config-eslint to avoid potential for staleness (#14805) (Brett Zamir)8be8a36
Chore: Adopteslint-plugin/require-meta-docs-url
rule internally (#14823) (Bryan Mishkin)f9c164f
Docs: New syntax issue template (#14826) (Nicholas C. Zakas)eba0c45
Chore: assertions on reporting loc inunicode-bom
(refs #12334) (#14809) (Nitin Kumar)ed945bd
Docs: fix multiple broken links (#14833) (Sam Chen)60df44c
Chore: useactions/setup-node@v2
(#14816) (Nitin Kumar)6641d88
Docs: Update README team and sponsors (ESLint Jenkins)efdbb12
Upgrade: @ eslint/eslintrc to v0.4.3 (#14808) (Brandon Mills)a96b05f
Update: add end location to report inconsistent-return
(refs #12334) (#14798) (Nitin Kumar)e0e8e30
Docs: update BUG_REPORT template (#14787) (Nitin Kumar)39115c8
Docs: provide more context to no-eq-null (#14801) (gfyoung)9a3c73c
Docs: fix a broken link (#14790) (Sam Chen)ddffa8a
Update: Indicating the operator in question (#14764) (Paul Smith)bba714c
Update: Clarifying what changes need to be made in no-mixed-operators (#14765) (Paul Smith)b0d22e3
Docs: Mention benefit of providingmeta.docs.url
(#14774) (Bryan Mishkin)000cc79
Sponsors: Sync README with website (ESLint Jenkins)a6a7438
Chore: pin fs-teardown@0.1.1 (#14771) (Milos Djermanovic)5f74642
Chore: don't check Program.start in SourceCode#getComments (refs #14744) (#14748) (Milos Djermanovic)19a871a
Docs: Suggest linting plugins for ESLint plugin developers (#14754) (Bryan Mishkin)aa87329
Docs: fix broken links (#14756) (Sam Chen)278813a
Docs: fix and add more examples for new-cap rule (fixes #12874) (#14725) (Nitin Kumar)ed1da5d
Update: ecmaVersion allows "latest" (#14720) (薛定谔的猫)104c0b5
Update: improve use-isnan rule to detectNumber.NaN
(fixes #14715) (#14718) (Nitin Kumar)b08170b
Update: Implement FlatConfigArray (refs #13481) (#14321) (Nicholas C. Zakas)f113cdd
Chore: upgrade eslint-plugin-eslint-plugin (#14738) (薛定谔的猫)1b8997a
Docs: Fix getRulesMetaForResults link syntax (#14723) (Brandon Mills)aada733
Docs: fix two broken links (#14726) (Sam Chen)8972529
Docs: Update README team and sponsors (ESLint Jenkins)bfbfe5c
New: Add only to RuleTester (refs eslint/rfcs#73) (#14677) (Brandon Mills)c2cd7b4
New: Add ESLint#getRulesMetaForResults() (refs #13654) (#14716) (Nicholas C. Zakas)eea7e0d
Chore: remove duplicate code (#14719) (Nitin Kumar)6a1c7a0
Fix: allow fallthrough comment inside block (fixes #14701) (#14702) (Kevin Gibbons)a47e5e3
Docs: Add Mega-Linter to the list of integrations (#14707) (Nicolas Vuillamy)353ddf9
Chore: enable reportUnusedDisableDirectives in eslint-config-eslint (#14699) (薛定谔的猫)757c495
Chore: add some rules to eslint-config-eslint (#14692) (薛定谔的猫)c93a222
Docs: fix a broken link (#14697) (Sam Chen)655c118
Sponsors: Sync README with website (ESLint Jenkins)e2bed2e
Sponsors: Sync README with website (ESLint Jenkins)8490fb4
Sponsors: Sync README with website (ESLint Jenkins)ddbe877
Sponsors: Sync README with website (ESLint Jenkins)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)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)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)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)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)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) (