mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 11:30:55 +01:00
8113e6d8c1
Summary: This option prohibits overwriting prototypes of native objects such as `Array`, `Date` and so on. ```lang=js // jshint freeze:true Array.prototype.count = function (value) { return 4; }; // -> Warning: Extending prototype of native object: 'Array'. ``` Test Plan: Linted existing JavaScript files, found no violations. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11439 |
||
---|---|---|
.. | ||
browser.jshintrc | ||
node.jshintrc |