This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 429817 - [eslint] Provide rules to warn about directly instantiating Object, Function and Array
Summary: [eslint] Provide rules to warn about directly instantiating Object, Function ...
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 6.0 M1   Edit
Assignee: Mark Macdonald CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-06 14:49 EST by Michael Rennie CLA
Modified: 2014-04-25 18:19 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2014-03-06 14:49:16 EST
The three new rules would be (from the wiki: https://wiki.eclipse.org/Orion/ESLint#Rules):

no-new-array
no-new-func
no-new-object
Comment 1 Michael Rennie CLA 2014-03-06 14:50:55 EST
Should probably also include the no-new-wrappers rule here as well