Bug 222107 - Web Inspector: Update .eslintrc to account for ECMAScript 2021
Summary: Web Inspector: Update .eslintrc to account for ECMAScript 2021
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Razvan Caliman
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-02-18 08:32 PST by Razvan Caliman
Modified: 2021-02-18 12:48 PST (History)
5 users (show)

See Also:


Attachments
Patch (1.36 KB, patch)
2021-02-18 08:36 PST, Razvan Caliman
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Razvan Caliman 2021-02-18 08:32:24 PST
Follow-up to Bug 221402. 

Bumping version to `ecmaScript: 2021` in `.eslintrc` config allows linters to understand recent additions to JavaScript, like logical assignment operators (&&=, ??=,  ||=), and stop reporting them as errors when seen in the codebase.

Context: https://github.com/eslint/eslint/issues/13569
Comment 1 Razvan Caliman 2021-02-18 08:36:47 PST
Created attachment 420832 [details]
Patch
Comment 2 BJ Burg 2021-02-18 09:35:56 PST
Comment on attachment 420832 [details]
Patch

rs=me
Comment 3 EWS 2021-02-18 12:47:07 PST
Committed r273096: <https://commits.webkit.org/r273096>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 420832 [details].
Comment 4 Radar WebKit Bug Importer 2021-02-18 12:48:15 PST
<rdar://problem/74490373>