mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 09:20:58 +01:00
b6e0c76c7d
Summary: Currently, we assume that all JavaScript files are for use in a browser. This is not true for the NodeJS Aphlict server code. Split the current JSHint configuration into `jshint-browser` and `jshint-node`. Test Plan: `arc lint` Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11071
23 lines
336 B
Text
23 lines
336 B
Text
{
|
|
"bitwise": true,
|
|
"curly": true,
|
|
"immed": true,
|
|
"indent": 2,
|
|
"latedef": true,
|
|
"newcap": true,
|
|
"noarg": true,
|
|
"quotmark": "single",
|
|
"undef": true,
|
|
"unused": true,
|
|
|
|
"expr": true,
|
|
"loopfunc": true,
|
|
"sub": true,
|
|
|
|
"globals": {
|
|
"JX": false,
|
|
"Raphael": false,
|
|
"__DEV__": false
|
|
},
|
|
"browser": true
|
|
}
|