forked from froatsnook/meteor-shopify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
32 lines (28 loc) · 760 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"globals": {
"$": false,
"_": false,
"Buffer": false,
"HTTP": false,
"Meteor": false,
"Npm": false,
"Shopify": true,
"WebApp": false,
"document": false,
"check": false,
"console": false,
"window": false
},
"rules": {
// I use var names like _example to indicate private API
"no-underscore-dangle": 0,
// Don't care about global "use strict" because meteor wraps files
// with functions anyway
"global-strict": 0,
"indent": [2, 4],
// Shopify API identifiers are not_camelcase
"camelcase": 0,
// When API.config.debug is true, logging happens
"no-console": 0
}
}