@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Enable the `freeze` option for JSHint

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

+2
+1
support/lint/browser.jshintrc
··· 1 1 { 2 2 "bitwise": true, 3 3 "curly": true, 4 + "freeze": true, 4 5 "immed": true, 5 6 "indent": 2, 6 7 "latedef": true,
+1
support/lint/node.jshintrc
··· 1 1 { 2 2 "bitwise": true, 3 3 "curly": true, 4 + "freeze": true, 4 5 "immed": true, 5 6 "indent": 2, 6 7 "latedef": true,