[Webkit-unassigned] [Bug 221402] New: Web Inspector: Update .eslintrc to account for ECMAScript 2020

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 4 04:35:06 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=221402

            Bug ID: 221402
           Summary: Web Inspector: Update .eslintrc to account for
                    ECMAScript 2020
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rcaliman at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

The current .eslintrc file uses the ECMAScript 2018 parser option which yells for newer features of JavaScript such as Optional Chaining Operator (?.) which are used in WebInspectorUI.

Updating the config makes linters stop throwing ESLint errors for new JS language features.

**NOTE** 

To understand ECMAScript, the linter package in your editor must support ESLint v6.2.0 or newer [1], or it must provide an option to use a custom ESLint install available on your $PATH.

[1] https://eslint.org/blog/2019/08/eslint-v6.2.0-released

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210204/12893fd7/attachment-0001.htm>


More information about the webkit-unassigned mailing list