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.0.1
->^7.16.0
By merging this PR, the below vulnerabilities will be automatically resolved:
Release Notes
eslint/eslint
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: [email protected] (#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: [email protected] (#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: [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)v7.6.0
Compare Source
ecb2b73
Update: requiremeta
for fixable rules in RuleTester (refs #13349) (#13489) (Milos Djermanovic)6fb4edd
Docs: fix broken links in developer guide (#13518) (Sam Chen)318fe10
Fix: Do not outputundefined
as line and column when it's unavailable (#13519) (haya14busa)493b5b4
Sponsors: Sync README with website (ESLint Jenkins)f100143
Sponsors: Sync README with website (ESLint Jenkins)16b10fe
Fix: Update the chatroom link to go directly to help channel (#13536) (Nicholas C. Zakas)f937eb9
Sponsors: Sync README with website (ESLint Jenkins)e71e298
Update: Change no-duplicate-case to comparing tokens (fixes #13485) (#13494) (Yosuke Ota)6c4aea4
Docs: add ECMAScript 2020 to README (#13510) (Milos Djermanovic)v7.5.0
Compare Source
6ea3178
Update: optional chaining support (fixes #12642) (#13416) (Toru Nagashima)540b1af
Chore: enable consistent-meta-messages internal rule (#13487) (Milos Djermanovic)885a145
Docs: clarify behavior ifmeta.fixable
is omitted (refs #13349) (#13493) (Milos Djermanovic)1a01b42
Docs: Update technology sponsors in README (#13478) (Nicholas C. Zakas)6ed9e8e
Upgrade: [email protected] (#13499) (Yohan Siguret)45cdf00
Sponsors: Sync README with website (ESLint Jenkins)f1cc725
Docs: fix linebreaks between versions in changelog (#13488) (Milos Djermanovic)f4d7b9e
Update: deprecate id-blacklist rule (#13465) (Dimitri Mitropoulos)e14a645
Chore: use espree.latestEcmaVersion in fuzzer (#13484) (Milos Djermanovic)61097fe
Docs: Update int rule level to string (#13483) (Brandon Mills)c8f9c82
Update: Improve report location no-irregular-whitespace (refs #12334) (#13462) (Milos Djermanovic)f2e68ec
Build: update webpack resolve.mainFields to match website config (#13457) (Milos Djermanovic)a96bc5e
Fix: arrow-body-style fixer forin
wrap (fixes #11849) (#13228) (Anix)748734f
Upgrade: Updated puppeteer version to v4.0.0 (#13444) (odidev)e951457
Docs: fix wording in configuring.md (#13469) (Piper)0af1d28
Update: add allowSeparatedGroups option to sort-imports (fixes #12951) (#13455) (Milos Djermanovic)1050ee7
Update: Improve report location for no-unneeded-ternary (refs #12334) (#13456) (Milos Djermanovic)b77b420
Update: Improve report location for max-len (refs #12334) (#13458) (Milos Djermanovic)095194c
Fix: add end location to reports in object-curly-newline (refs #12334) (#13460) (Milos Djermanovic)10251bb
Fix: add end location to reports in keyword-spacing (refs #12334) (#13461) (Milos Djermanovic)2ea7ee5
Sponsors: Sync README with website (ESLint Jenkins)b55fd3b
Sponsors: Sync README with website (ESLint Jenkins)v7.4.0
Compare Source
f21bad2
Docs: fix description fornever
in multiline-ternary (fixes #13368) (#13452) (Milos Djermanovic)ada2c89
Fix: support typescript generics in arrow-parens (fixes #12570) (#13451) (Milos Djermanovic)89ee01e
Fix: Revert config cloning (fixes #13447) (#13449) (薛定谔的猫)0a463db
Docs: fix no-multiple-empty-lines examples (fixes #13432) (#13433) (Milos Djermanovic)ff5317e
Update: Improve array-callback-return report message (#13395) (Philip (flip) Kromer)3f51930
Fix: false positive new with member in no-extra-parens (fixes #12740) (#13375) (YeonJuan)825a5b9
Fix: Clarify documentation on implicit ignore behavior (fixes #12348) (#12600) (Scott Hardin)c139156
Sponsors: Sync README with website (ESLint Jenkins)0c17e9d
Sponsors: Sync README with website (ESLint Jenkins)c680387
Sponsors: Sync README with website (ESLint Jenkins)bf3939b
Sponsors: Sync README with website (ESLint Jenkins)7baf02e
Sponsors: Sync README with website (ESLint Jenkins)5c4c3fd
Sponsors: Sync README with website (ESLint Jenkins)53912aa
Sponsors: Sync README with website (ESLint Jenkins)51e42ec
Update: Add option "ignoreGlobals" to camelcase rule (fixes #11716) (#12782) (David Gasperoni)0655f66
Update: improve report location in arrow-body-style (refs #12334) (#13424) (YeonJuan)d53d69a
Update: prefer-regex-literal detect regex literals (fixes #12840) (#12842) (Mathias Schreck)004adae
Update: rename id-blacklist to id-denylist (fixes #13407) (#13408) (Kai Cataldo)v7.3.1
Compare Source
de77c11
Fix: Replace Infinity with Number.MAX_SAFE_INTEGER (fixes #13427) (#13435) (Nicholas C. Zakas)v7.3.0
Compare Source
638a6d6
Update: add missingadditionalProperties: false
to some rules' schema (#13198) (Milos Djermanovic)949a5cd
Update: fix operator-linebreak overrides schema (#13199) (Milos Djermanovic)9e1414e
New: Add no-promise-executor-return rule (fixes #12640) (#12648) (Milos Djermanovic)09cc0a2
Update: max-lines reporting loc improvement (refs #12334) (#13318) (Anix)ee2fc2e
Update: object-property-newline end location (refs #12334) (#13399) (Anix)d98152a
Update: added empty error array check for false negative (#13200) (Anix)7fb45cf
Fix: clone config before validating (fixes #12592) (#13034) (Anix)aed46f6
Sponsors: Sync README with website (ESLint Jenkins)7686d7f
Update: semi-spacing should check do-while statements (#13358) (Milos Djermanovic)cbd0d00
Update: disallow multiple options in comma-dangle schema (fixes #13165) (#13166) (Milos Djermanovic)b550330
New: Add no-unreachable-loop rule (fixes #12381) (#12660) (Milos Djermanovic)13999d2
Update: curly should check consequentif
statements (#12947) (Milos Djermanovic)c42e548
Chore: enable exceptRange option in the yoda rule (#12857) (Milos Djermanovic)6cfbd03
Update: Drop @typescript-eslint/eslint-recommended fromeslint --init
(#13340) (Minh Nguyen)796f269
Chore: update eslint-config-eslint's required node version (#13379) (薛定谔的猫)9d0186e
Docs: Fix changelog versions (#13410) (Tony Brix)1ee3c42
Docs: On maxEOF with eol-last (fixes #12742) (#13374) (Arthur Dias)2a21049
Update: key-spacing loc changes for extra space (refs #12334) (#13362) (Anix)7ce7988
Chore: Replace the inquirer dependency with enquirer (#13254) (Selwyn)0f1f5ed
Docs: Add security policy link to README (#13403) (Nicholas C. Zakas)9e9ba89
Sponsors: Sync README with website (ESLint Jenkins)ca59fb9
Sponsors: Sync README with website (ESLint Jenkins)v7.2.0
Compare Source
b735a48
Update: add enforceForFunctionPrototypeMethods option to no-extra-parens (#12895) (Milos Djermanovic)27ef73f
Update: reporter locr of func-call-spacing (refs #12334) (#13311) (Anix)353bfe9
Update: handle parentheses in multiline-ternary (fixes #13195) (#13367) (Milos Djermanovic)a7fd343
Update: keyword-spacing unexpected space loc improve (refs #12334) (#13377) (Anix)e49732e
Fix: Ignore import expressions in no-unused-expressions rule (#13387) (Veniamin Krol)220349f
Chore: Remove duplicate health files (#13380) (Nicholas C. Zakas)dd949ae
Update: support??
operator, import.meta, andexport * as ns
(#13196) (Toru Nagashima)d5fce9f
Update: enable es2020 environment in --init (#13357) (Milos Djermanovic)21b1583
Docs: fixed broken hash link for working-with-rules.md (#13386) (Yosuke Ota)b76aef7
Update: Improve report location for template-tag-spacing (refs #12334) (#13203) (Milos Djermanovic)578efad
Chore: update no-unused-vars caughtErrors in eslint-config-eslint (#13351) (Milos Djermanovic)426088c
Fix: no-unused-vars updated location to last reference (fixes #13181) (#13354) (Anix)cb50b69
Update: Improve location for no-mixed-spaces-and-tabs (refs #12334) (#13365) (Milos Djermanovic)f858f2a
Chore: Add Tidelift to funding.yml (#13371) (Nicholas C. Zakas)ee30e5d
Sponsors: Sync README with website (ESLint Jenkins)c29bd9f
Chore: Add breaking/core change link to issue templates (#13344) (Kai Cataldo)d55490f
Sponsors: Sync README with website (ESLint Jenkins)v7.1.0
Compare Source
a93083a
Fix: astUtils.getNextLocation returns invalid location after CRLF (#13275) (Milos Djermanovic)df01af1
Update: padded-blocks loc position changes (refs #12334) (#13328) (Anix)bd3f092
Fix: max-lines-per-function flagging arrow IIFEs (fixes #13332) (#13336) (cherryblossom000)25462b2
Update: block-spacing changed loc for extra (refs #12334) (#13314) (Anix)de0aab9
Fix: report end loc in one-var-declaration-per-line (refs #12334) ([#13326](https://togithub.com/es