Bug 222107

Summary: Web Inspector: Update .eslintrc to account for ECMAScript 2021
Product: WebKit Reporter: Razvan Caliman <rcaliman>
Component: Web InspectorAssignee: Razvan Caliman <rcaliman>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, ews-watchlist, hi, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

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>