-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
82 lines (82 loc) · 1.8 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"extends": "airbnb-base/legacy",
"env": {
"node": true
},
"rules": {
"new-cap": ["warn", {
"newIsCap": true,
"capIsNewExceptions": ["L"]
}],
"indent": ["error", 2, {
"MemberExpression": 1,
"SwitchCase": 1
}],
"quotes": ["error", "single"],
"linebreak-style": ["error", "unix"],
"semi": ["error", "always"],
"no-empty": 0,
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"spaced-comment": 0,
"consistent-return": 0,
"comma-dangle": 0, // not sure why airbnb turned this on. gross!
"default-case": 0,
"func-names": 0,
"global-require": 0,
"max-len": 0,
"no-alert": 0,
"no-console": ["warn", {
"allow": ["warn", "error", "log"]
}],
"no-native-reassign": ["error", {
"exceptions": ["$"]
}],
"no-extend-native": 0,
"no-tabs": 0,
"no-unused-vars": ["warn", {
"vars": "all",
"args": "none",
"ignoreRestSiblings": false
}],
"no-param-reassign": warn,
"no-underscore-dangle": 0,
"no-unneeded-ternary": 0,
"no-use-before-define": ["error", {
"functions": false,
"classes": true
}],
"no-plusplus": 0,
"padded-blocks": 0,
"prefer-template": 0,
"prefer-arrow-callback": 0,
"vars-on-top": warn,
"wrap-iife": 0
},
"plugins": [
],
"settings": {
},
"globals": {
"Ti": false,
"Titanium": false,
"Alloy": false,
"$": false,
"Backbone": false,
"OS_IOS": false,
"OS_ANDROID": false,
"_": false,
"ENV_DEV": false,
"ENV_TEST": false,
"ENV_PRODUCTION": false,
"ENV_PROD": false,
"DIST_ADHOC": false,
"DIST_STORE": false,
"L": false,
"alert": false,
"console": false,
"Widget": false,
"WPATH": false,
"App": false,
"Parse": true
}
}