WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
143062
Web Inspector: Add ESLint "Disallow Undeclared Variables" rule and enable ES6 env
https://bugs.webkit.org/show_bug.cgi?id=143062
Summary
Web Inspector: Add ESLint "Disallow Undeclared Variables" rule and enable ES6...
Tobias Reiss
Reported
2015-03-25 15:30:10 PDT
As a consequence of further usage of ES6 syntax and a regression that could have been spotted by ESLint we should add the following 2 things: - es6 environment (allow use of ES6 syntax including class) - no-undef - disallow use of undeclared variables unless mentioned in a /*global */ block
http://eslint.org/docs/rules/no-undef.html
Attachments
patch
(1.44 KB, patch)
2015-03-25 15:37 PDT
,
Tobias Reiss
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-03-25 15:30:32 PDT
<
rdar://problem/20300065
>
Tobias Reiss
Comment 2
2015-03-25 15:37:03 PDT
Created
attachment 249433
[details]
patch
Joseph Pecoraro
Comment 3
2015-03-25 17:00:02 PDT
Comment on
attachment 249433
[details]
patch r=me
WebKit Commit Bot
Comment 4
2015-03-25 17:47:41 PDT
Comment on
attachment 249433
[details]
patch Clearing flags on attachment: 249433 Committed
r181987
: <
http://trac.webkit.org/changeset/181987
>
WebKit Commit Bot
Comment 5
2015-03-25 17:47:45 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug